XYZ File Manager
Current Path:
/usr/include/sepol/policydb
usr
/
include
/
sepol
/
policydb
/
📁
..
📄
avrule_block.h
(1.6 KB)
📄
avtab.h
(4.65 KB)
📄
conditional.h
(4.74 KB)
📄
constraint.h
(2.47 KB)
📄
context.h
(3.49 KB)
📄
ebitmap.h
(3.51 KB)
📄
expand.h
(3.57 KB)
📄
flask_types.h
(1.55 KB)
📄
hashtab.h
(3.34 KB)
📄
hierarchy.h
(1.78 KB)
📄
link.h
(517 B)
📄
mls_types.h
(5.04 KB)
📄
module.h
(1.5 KB)
📄
polcaps.h
(1.57 KB)
📄
policydb.h
(26.21 KB)
📄
services.h
(8.47 KB)
📄
sidtab.h
(1.94 KB)
📄
symtab.h
(1.09 KB)
📄
util.h
(1.48 KB)
Editing: symtab.h
/* Author : Stephen Smalley, <stephen.smalley.work@gmail.com> */ /* FLASK */ /* * A symbol table (symtab) maintains associations between symbol * strings and datum values. The type of the datum values * is arbitrary. The symbol table type is implemented * using the hash table type (hashtab). */ #ifndef _SEPOL_POLICYDB_SYMTAB_H_ #define _SEPOL_POLICYDB_SYMTAB_H_ #include <sepol/policydb/hashtab.h> #ifdef __cplusplus extern "C" { #endif /* The symtab_datum struct stores the common information for * all symtab datums. It should the first element in every * struct that will be used in a symtab to allow the specific * datum types to be freely cast to this type. * * The values start at 1 - 0 is never a valid value. */ typedef struct symtab_datum { uint32_t value; } symtab_datum_t; typedef struct { hashtab_t table; /* hash table (keyed on a string) */ uint32_t nprim; /* number of primary names in table */ } symtab_t; extern int symtab_init(symtab_t *, unsigned int size); extern void symtab_destroy(symtab_t *); #ifdef __cplusplus } #endif #endif /* _SYMTAB_H_ */ /* FLASK */
Upload File
Create Folder