Home | History | Annotate | Download | only in revnetgroup

Lines Matching refs:key

66 	const u_char *key;
70 #define HASHC h = *key++ + 65599 * h
73 key = keyarg;
109 * Generate a hash value for a given key (character string).
114 hashkey(const char *key)
117 if (key == NULL)
119 return(hash((const void *)key, strlen(key)) & HASH_MASK);
124 lookup(struct group_entry **table, const char *key)
128 cur = table[hashkey(key)];
131 if (!strcmp(cur->key, key))
157 store(struct group_entry *table[], const char *key, const char *data)
162 i = hashkey(key);
165 new->key = strdup(key);
186 mstore(struct member_entry *table[], const char *key, const char *data,
193 i = hashkey(key);
202 if (!strcmp(cur->key, key) && !strcmp(cur->domain,domain)) {
221 new->key = strdup(key);