home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
prgramer
/
adaptor
/
src
/
include
/
idents.h
< prev
next >
Wrap
Text File
|
1994-01-02
|
2KB
|
74 lines
# ifndef yyIdents
# define yyIdents
/* $Id: Idents.h,v 1.7 1992/02/18 12:52:30 grosch rel $ */
/* $Log: Idents.h,v $
* Revision 1.7 1992/02/18 12:52:30 grosch
* changed tString from unsigned char * to char *
*
* Revision 1.6 1991/11/21 14:28:16 grosch
* new version of RCS on SPARC
*
* Revision 1.5 91/09/18 15:18:47 grosch
* added procedure GetStringRef
*
* Revision 1.4 91/07/17 17:23:08 grosch
* introduced ARGS trick for ANSI compatibility
*
* Revision 1.3 91/01/21 12:13:21 grosch
* some performance improvements
*
* Revision 1.2 90/07/04 14:33:56 grosch
* introduced conditional include
*
* Revision 1.1 89/12/08 17:22:12 grosch
* added variable NoIdent
*
* Revision 1.0 88/10/04 11:44:39 grosch
* Initial revision
*
*/
/* Ich, Doktor Josef Grosch, Informatiker, Sept. 1987 */
# include <stdio.h>
# include "ratc.h"
# include "StringMe.h"
# ifdef __STDC__
# define ARGS(parameters) parameters
# else
# define ARGS(parameters) ()
# endif
typedef cardinal tIdent;
extern tIdent NoIdent;
extern tIdent MakeIdent ARGS((register char * string, register cardinal length));
/* the string (of length) is mapped to a unique identifier */
/* (an integer) which is returned */
extern void GetString ARGS((tIdent ident, char * string));
/* returns the string whose identifier is 'ident' */
extern tStringRef GetStringRef ARGS((tIdent ident));
/* returns a reference to the string identified by 'ident' */
extern tIdent MaxIdent ();
/* returns the currently maximal identifier */
extern void WriteIdent ARGS((FILE * file, tIdent ident));
/* the string encoded by the identifier 'ident' is */
/* printed on the file */
extern void WriteIdents ();
/* the contents of the identifier table is printed */
/* on the standard output */
extern void WriteHashTable ();
extern void InitIdents ();
# endif