Lines Matching refs:key
87 /* Creates a temporary resource key. This is only useful to quickly
90 * resource key object. */
108 DnsResourceKey *key;
200 void* key;
255 static inline const char* DNS_RESOURCE_KEY_NAME(const DnsResourceKey *key) {
256 if (!key)
259 if (key->_name)
260 return key->_name;
262 return (char*) key + sizeof(DnsResourceKey);
287 DnsResourceKey* dns_resource_key_new_redirect(const DnsResourceKey *key, const DnsResourceRecord *cname);
288 int dns_resource_key_new_append_suffix(DnsResourceKey **ret, DnsResourceKey *key, char *name);
290 DnsResourceKey* dns_resource_key_ref(DnsResourceKey *key);
291 DnsResourceKey* dns_resource_key_unref(DnsResourceKey *key);
292 bool dns_resource_key_is_address(const DnsResourceKey *key);
294 int dns_resource_key_match_rr(const DnsResourceKey *key, DnsResourceRecord *rr, const char *search_domain);
295 int dns_resource_key_match_cname_or_dname(const DnsResourceKey *key, const DnsResourceKey *cname, const char *search_domain);
296 int dns_resource_key_match_soa(const DnsResourceKey *key, const DnsResourceKey *soa);
297 int dns_resource_key_to_string(const DnsResourceKey *key, char **ret);
300 static inline bool dns_key_is_shared(const DnsResourceKey *key) {
301 return IN_SET(key->type, DNS_TYPE_PTR);
306 DnsResourceRecord* dns_resource_record_new(DnsResourceKey *key);