]> git.meshlink.io Git - catta/blobdiff - rr.h
* add announcing/goodbye
[catta] / rr.h
diff --git a/rr.h b/rr.h
index bcd684e754f083012c89a33d3e363f7c249a5455..a31b632065ebce93336a529cc1850714ba247019 100644 (file)
--- a/rr.h
+++ b/rr.h
@@ -13,6 +13,7 @@ enum {
     FLX_DNS_TYPE_MX = 0x0F,
     FLX_DNS_TYPE_TXT = 0x10,
     FLX_DNS_TYPE_AAAA = 0x1C,
+    FLX_DNS_TYPE_SRV = 0x21
 };
 
 enum {
@@ -49,10 +50,12 @@ flxRecord *flx_record_new_full(const gchar *name, guint16 class, guint16 type, g
 flxRecord *flx_record_ref(flxRecord *r);
 void flx_record_unref(flxRecord *r);
 
-const gchar *flxdns_class_to_string(guint16 class);
+const gchar *flx_dns_class_to_string(guint16 class);
 const gchar *flx_dns_type_to_string(guint16 type);
 
 gchar *flx_key_to_string(flxKey *k); /* g_free() the result! */
 gchar *flx_record_to_string(flxRecord *r);  /* g_free() the result! */
 
+gboolean flx_record_equal(const flxRecord *a, const flxRecord *b);
+
 #endif