/usr/include/paw/ntuple/qp_symtab.h is in libpawlib2-dev 1:2.14.04.dfsg.2-7ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | /*
* qp_symtab.h --
* Declare routines for symbol table management
* used to store static typing of the 'identifier'
* type entities.
*
* Original: 19-Oct-1994 15:57
*
* Author: Maarten Ballintijn <Maarten.Ballintijn@cern.ch>
*
* $Id: qp_symtab.h,v 1.3 1996/04/23 18:39:04 maartenb Exp $
*
* $Log: qp_symtab.h,v $
* Revision 1.3 1996/04/23 18:39:04 maartenb
* - Add RCS keywords
*
*
*/
#ifndef CERN_SYMTAB
#define CERN_SYMTAB
#ifndef CERN_SIGNATURE
#include <paw/ntuple/qp_signature.h>
#endif
typedef struct _stentry_ STEntry;
struct _stentry_ {
STEntry *next;
char *name;
Signature *sig_list;
};
typedef struct _symtab_ {
int size;
int mark;
int cnt;
STEntry *tab;
int hsize;
STEntry **htab;
} SymTab;
extern SymTab *sf_symtab;
SymTab *
st_new( unsigned int size );
STEntry *
st_lookup( SymTab * st, char * const name );
STIndex
st_index( SymTab * st, char * const name );
STEntry *
st_entry( SymTab * st, STIndex index );
int
st_insert( SymTab * st, char * const name, Signature * const s );
void
st_del( SymTab * st, char * const name );
void
st_mark( SymTab * st );
void
st_sweep( SymTab * st );
#endif /* CERN_SYMTAB */
|