debuggers.hg

view xen/xsm/flask/ss/symtab.h @ 0:7d21f7218375

Exact replica of unstable on 051908 + README-this
author Mukesh Rathor
date Mon May 19 15:34:57 2008 -0700 (2008-05-19)
parents
children
line source
1 /*
2 * A symbol table (symtab) maintains associations between symbol
3 * strings and datum values. The type of the datum values
4 * is arbitrary. The symbol table type is implemented
5 * using the hash table type (hashtab).
6 *
7 * Author : Stephen Smalley, <sds@epoch.ncsc.mil>
8 */
9 #ifndef _SS_SYMTAB_H_
10 #define _SS_SYMTAB_H_
12 #include "hashtab.h"
14 struct symtab {
15 struct hashtab *table; /* hash table (keyed on a string) */
16 u32 nprim; /* number of primary names in table */
17 };
19 int symtab_init(struct symtab *s, unsigned int size);
21 #endif /* _SS_SYMTAB_H_ */