Lines Matching defs:key
7 * key values and datum values. The type of the key values
9 * functions for hash computation and key comparison are
25 typedef char *hashtab_key_t; /* generic key type */
26 typedef const char *const_hashtab_key_t; /* constant generic key type */
32 hashtab_key_t key;
41 unsigned int (*hash_value) (struct hashtab_val * h, const_hashtab_key_t key); /* hash function */
42 int (*keycmp) (struct hashtab_val * h, const_hashtab_key_t key1, const_hashtab_key_t key2); /* key comparison function */
55 key),
61 Inserts the specified (key, datum) pair into the specified hash table.
64 SEPOL_EEXIST if there is already an entry with the same key or
70 Removes the entry with the specified key from the hash table.
71 Applies the specified destroy function to (key,datum,args) for
74 Returns SEPOL_ENOENT if no entry has the specified key or
83 Searches for the entry with the specified key in the hash table.
85 Returns NULL if no entry has the specified key or
96 Applies the specified apply function to (key,datum,args)