Lines Matching defs:key
73 * Pointer to the entry key
82 update_entry_if_required(map_ctrl *map, datum *key)
96 if (0 == strncmp(key->dptr, yp_last_modified, yp_last_modified_sz)) {
103 if (is_special_key(key))
106 if (!has_entry_expired(map, key))
111 return (update_from_dit(map, key));
120 * Entry key
128 update_from_dit(map_ctrl *map, datum *key)
144 ret = read_from_dit(map->map_name, map->domain, key, &dat);
171 dbm_delete(map->entries, *key);
172 dbm_delete(map->ttl, *key);
179 res = dbm_store(map->entries, *key, dat, DBM_REPLACE);
186 update_entry_ttl(map, key, TTL_RUNNING);
366 * DESCRIPTION: Works out if a given key is one of the special ones. We just
372 is_special_key(datum *key)
374 if (0 == strncmp(key->dptr, yp_prefix, yp_prefix_sz))