head     1.6;
branch   ;
access   ;
symbols  Version_2_1:1.5 Version_2:1.2 C_Demo_1:1.2;
locks    ; strict;
comment  @ * @;


1.6
date     91.05.22.14.00.59;  author kemnitz;  state Exp;
branches ;
next     1.5;

1.5
date     90.08.18.00.39.58;  author cimarron;  state Exp;
branches ;
next     1.4;

1.4
date     90.08.17.08.51.00;  author cimarron;  state Exp;
branches ;
next     1.3;

1.3
date     90.08.08.08.15.13;  author cimarron;  state Exp;
branches ;
next     1.2;

1.2
date     89.09.05.17.07.32;  author mao;  state Version_2;
branches ;
next     1.1;

1.1
date     89.01.19.22.26.46;  author aoki;  state Stab;
branches ;
next     ;


desc
@keyword definitions
@


1.6
log
@got rid of ftree stuff
@
text
@/*
 * kw.h --
 *	Declarations for Keyword type.
 *
 * Identification:
 *	$Header: RCS/kw.h,v 1.5 90/08/18 00:39:58 cimarron Exp Locker: kemnitz $
 */

#ifndef KWIncluded
#define KWIncluded

#ifdef NOTDEF

#include "tmp/postgres.h"

/*
 * Keyword class definitions.
 */

typedef	char16		KeywordData;
typedef	KeywordData	*Keyword;


/*
 * Interface procedure definitions.
 */

/*#define KWREGEX*/	/* regex operators */

#ifdef KWTEST
#define	palloc	malloc
#define pfree	free
#endif /* KWTEST */

extern Keyword	keyword_in();
extern char	*keyword_out();
extern int32	kw_cmp();
extern int32	kw_eq();
extern int32	kw_ne();
extern int32	kw_le();
extern int32	kw_lt();
extern int32	kw_ge();
extern int32	kw_gt();


/*
 * Internal macro definitions.
 */

#define	KeywordGetData(kw)	((kw)->data)

#define	InvalidKeyword		((Keyword) NULL)
#define	KeywordIsValid(kw)	((kw) != InvalidKeyword)

#endif /* NOTDEF */
#endif /* !KWIncluded */
@


1.5
log
@eliminated less significant .h files
@
text
@d6 1
a6 1
 *	$Header: RCS/kw.h,v 1.4 90/08/17 08:51:00 cimarron Exp Locker: cimarron $
d12 2
d55 1
@


1.4
log
@added pathnames to #include statements
@
text
@d6 1
a6 1
 *	$Header: RCS/kw.h,v 1.3 90/08/08 08:15:13 cimarron Exp Locker: cimarron $
d12 1
a12 1
#include "tmp/name.h"
@


1.3
log
@reorganized some header files
@
text
@d6 1
a6 1
 *	$Header: RCS/kw.h,v 1.2 89/09/05 17:07:32 mao Version_2 Locker: cimarron $
d12 1
a12 1
#include "name.h"
@


1.2
log
@Working version of C-only demo
@
text
@d6 1
a6 1
 *	$Header: /usr6/postgres/mao/postgres/src/lib/H/RCS/kw.h,v 1.1 89/01/19 22:26:46 aoki Stab $
d18 1
a18 1
typedef	Char16Data	KeywordData;
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
 *	$Header$
@
