head     1.11;
branch   ;
access   ;
symbols  Version_2_1:1.10 Version_2:1.8 C_Demo_1:1.6;
locks    ; strict;
comment  @ * @;


1.11
date     91.11.10.20.46.47;  author clarsen;  state Exp;
branches ;
next     1.10;

1.10
date     90.08.17.08.54.44;  author cimarron;  state Exp;
branches ;
next     1.9;

1.9
date     90.08.08.08.16.33;  author cimarron;  state Exp;
branches ;
next     1.8;

1.8
date     89.09.25.11.25.39;  author cimarron;  state Version_2;
branches ;
next     1.7;

1.7
date     89.09.21.19.12.43;  author hirohama;  state Exp;
branches ;
next     1.6;

1.6
date     89.09.05.17.08.44;  author mao;  state C_Demo_1;
branches ;
next     1.5;

1.5
date     89.08.24.18.31.27;  author hirohama;  state Exp;
branches ;
next     1.4;

1.4
date     89.04.14.18.20.03;  author dillon;  state Exp;
branches ;
next     1.3;

1.3
date     89.04.12.19.55.13;  author dillon;  state Exp;
branches ;
next     1.2;

1.2
date     89.03.22.17.33.56;  author muir;  state Stab;
branches ;
next     1.1;

1.1
date     89.01.17.05.54.33;  author cimarron;  state Exp;
branches ;
next     ;


desc
@@


1.11
log
@prototypes.h
@
text
@/* ----------------------------------------------------------------
 *   FILE
 *     	name.h
 *
 *   DESCRIPTION
 *     	definition of the catalog/system "name" data type.
 *	This is used by some of the access method and catalog
 *	support code.
 *
 *   NOTES
 *	Since "name" derives directly from a system type, this
 *	stuff should arguably go in postgres.h
 *
 *   IDENTIFICATION
 *   	$Header: RCS/name.h,v 1.10 90/08/17 08:54:44 cimarron Exp Locker: clarsen $
 * ----------------------------------------------------------------
 */
#ifndef NameIncluded		/* Include this file only once */
#define	NameIncluded	1

#include "tmp/postgres.h"

/* ----------------
 *	definition of NameData and Name
 *	Note: char16 is a system type in postgres.h
 * ----------------
 */
typedef char16		NameData;
typedef NameData	*Name;

/* ----------------
 *	Name support stuff.
 * ----------------
 */
#define InvalidName	((Name) NULL)


/*
 * NameIsEqual
 *	True iff the names are the same.
 */
extern
bool
NameIsEqual ARGS((
	Name	name1,
	Name	name2
));

/*
 * NameComputeLength
 *	Returns the lenght of a name.
 */
uint32
NameComputeLength ARGS((
	Name	name
));

#endif	/* !defined(NameIncluded) */
@


1.10
log
@added pathnames to #include statements
@
text
@d15 1
a15 1
 *   	$Header: RCS/name.h,v 1.9 90/08/08 08:16:33 cimarron Exp Locker: cimarron $
d35 1
a35 1
#define InvalidName	((Name)NULL)
a36 9
/*
 * NameIsValid
 *	True iff the name is valid.
 */
extern
bool
NameIsValid ARGS((
	Name	name
));
@


1.9
log
@
reorganized some header files
@
text
@d15 1
a15 1
 *   	$Header$
d21 1
a21 1
#include "postgres.h"
@


1.8
log
@moved dynamic symbol stuff to syms.h
@
text
@d1 16
a16 3
/*
 * name.h --
 *	POSTGRES name data-type definitions.
a17 1

d21 6
a26 2
/*
 * Identification:
d28 1
a28 13
#define NAME_H	"$Header: RCS/name.h,v 1.7 89/09/21 19:12:43 hirohama Exp $"

#ifndef C_H
#include "c.h"
#endif

typedef struct Char16Data {
	char	data[16];
} Char16Data;

typedef Char16Data	*Char16;

typedef Char16Data	NameData;
d31 4
a35 10

/*
 * Char16IsValid
 *	True iff the character 16 is valid.
 */
extern
bool
Char16IsValid ARGS((
	Char16	char16
));
@


1.7
log
@added ...SYMBOLS declarations
miscellaneous cleanup
@
text
@d12 1
a12 1
#define NAME_H	"$Header: RCS/name.h,v 1.6 89/09/05 17:08:44 mao C_Demo_1 Locker: hirohama $"
a67 5

#define NAME_SYMBOLS \
	SymbolDecl(NameIsValid, "_NameIsValid"), \
	SymbolDecl(NameIsEqual, "_NameIsEqual"), \
	SymbolDecl(NameComputeLength, "_NameComputeLength")
@


1.6
log
@Working version of C-only demo
@
text
@a3 3
 *
 * Identification:
 *	$Header: RCS/name.h,v 1.5 89/08/24 18:31:27 hirohama Exp $
d9 4
a12 1
#define NAME_H	"$Header: RCS/name.h,v 1.5 89/08/24 18:31:27 hirohama Exp $"
d68 5
@


1.5
log
@added InvalidName
@
text
@d6 1
a6 1
 *	$Header: RCS/name.h,v 1.4 89/04/14 18:20:03 dillon Exp Locker: hirohama $
d12 1
a12 1
#define NAME_H	"$Header$"
@


1.4
log
@*** empty log message ***
@
text
@d6 1
a6 1
 *	$Header: /usr6/postgres/dillon/ptree/src/lib/H/RCS/name.h,v 1.3 89/04/12 19:55:13 dillon Exp $
d9 2
a10 2
#ifndef NAME_H
#define NAME_H
d12 2
d27 2
d69 1
a69 1
#endif	/* !defined(NAME_H) */
@


1.3
log
@c.h
@
text
@d6 1
a6 1
 *	$Header: /usr6/postgres/dillon/ptree/src/lib/H/RCS/name.h,v 1.2 89/03/22 17:33:56 muir Stab $
d9 2
a10 2
#ifndef	NameIncluded	/* Include this file only once. */
#define NameIncluded	1
d65 1
a65 1
#endif	/* !defined(NameIncluded) */
@


1.2
log
@copyright removal
@
text
@d6 1
a6 1
 *	$Header: /usr6/postgres/muir/postgres/src/lib/H/RCS/name.h,v 1.1 89/01/17 05:54:33 cimarron Exp $
d12 1
d14 1
@


1.1
log
@Initial revision
@
text
@a0 27

; /*
; * 
; * POSTGRES Data Base Management System
; * 
; * Copyright (c) 1988 Regents of the University of California
; * 
; * Permission to use, copy, modify, and distribute this software and its
; * documentation for educational, research, and non-profit purposes and
; * without fee is hereby granted, provided that the above copyright
; * notice appear in all copies and that both that copyright notice and
; * this permission notice appear in supporting documentation, and that
; * the name of the University of California not be used in advertising
; * or publicity pertaining to distribution of the software without
; * specific, written prior permission.  Permission to incorporate this
; * software into commercial products can be obtained from the Campus
; * Software Office, 295 Evans Hall, University of California, Berkeley,
; * Ca., 94720 provided only that the the requestor give the University
; * of California a free licence to any derived software for educational
; * and research purposes.  The University of California makes no
; * representations about the suitability of this software for any
; * purpose.  It is provided "as is" without express or implied warranty.
; * 
; */



d6 1
a6 1
 *	$Header: name.h,v 1.1 88/11/11 16:37:17 postgres Exp $
@
