hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/security/selinux/ss/symtab.h
....@@ -13,12 +13,15 @@
1313 #include "hashtab.h"
1414
1515 struct symtab {
16
- struct hashtab *table; /* hash table (keyed on a string) */
16
+ struct hashtab table; /* hash table (keyed on a string) */
1717 u32 nprim; /* number of primary names in table */
1818 };
1919
2020 int symtab_init(struct symtab *s, unsigned int size);
2121
22
+int symtab_insert(struct symtab *s, char *name, void *datum);
23
+void *symtab_search(struct symtab *s, const char *name);
24
+
2225 #endif /* _SS_SYMTAB_H_ */
2326
2427