Lines Matching refs:key
72 * Pointer to the entry key
81 update_entry_if_required(map_ctrl *map, datum *key)
95 if (0 == strncmp(key->dptr, yp_last_modified, yp_last_modified_sz)) {
102 if (is_special_key(key))
105 if (!has_entry_expired(map, key))
110 return (update_from_dit(map, key));
119 * Entry key
127 update_from_dit(map_ctrl *map, datum *key)
143 ret = read_from_dit(map->map_name, map->domain, key, &dat);
170 dbm_delete(map->entries, *key);
171 dbm_delete(map->ttl, *key);
178 res = dbm_store(map->entries, *key, dat, DBM_REPLACE);
185 update_entry_ttl(map, key, TTL_RUNNING);
367 * DESCRIPTION: Works out if a given key is one of the special ones. We just
373 is_special_key(datum *key)
375 if (0 == strncmp(key->dptr, yp_prefix, yp_prefix_sz))