]> git.meshlink.io Git - catta/blobdiff - avahi-core/rr.h
* split off lookup.h and publish.h from core.h
[catta] / avahi-core / rr.h
index 40134bf3148a18624c471ad8eb38ee1f74095960..6824d2a658a182088618e2f056f5bad4be58624d 100644 (file)
@@ -124,6 +124,9 @@ typedef struct  {
 /** Create a new AvahiKey object. The reference counter will be set to 1. */
 AvahiKey *avahi_key_new(const char *name, uint16_t clazz, uint16_t type);
 
+/** Creaze new AvahiKey object based on an existing key but replaceing the type by CNAME */
+AvahiKey *avahi_key_new_cname(AvahiKey *key);
+
 /** Increase the reference counter of an AvahiKey object by one */
 AvahiKey *avahi_key_ref(AvahiKey *k);