kernel/security/selinux/ss/symtab.h
.. .. @@ -13,12 +13,15 @@ 13 13 #include "hashtab.h" 14 14 15 15 struct symtab { 16 - struct hashtab *table; /* hash table (keyed on a string) */16 + struct hashtab table; /* hash table (keyed on a string) */17 17 u32 nprim; /* number of primary names in table */ 18 18 }; 19 19 20 20 int symtab_init(struct symtab *s, unsigned int size); 21 21 22 +int symtab_insert(struct symtab *s, char *name, void *datum);23 +void *symtab_search(struct symtab *s, const char *name);24 +22 25 #endif /* _SS_SYMTAB_H_ */ 23 26 24 27