summaryrefslogtreecommitdiffstats
path: root/avahi-common/rr.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-08-05 18:59:21 +0000
committerLennart Poettering <lennart@poettering.net>2005-08-05 18:59:21 +0000
commit0632e854728e8e64552ae08f90852d4a2658539e (patch)
tree0fab7d52e01da7ab9b81b8409dcf70cceb7d2852 /avahi-common/rr.h
parentd76069e946b4e89c828c96340677e40f583080c9 (diff)
* add proper error codes and patch everything to make use of it
* parameter validity checkin in all user visible functions of libavahi-core * two new python tools/examples avahi-resolve-host-name and avahi-resolve-address git-svn-id: file:///home/lennart/svn/public/avahi/trunk@238 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-common/rr.h')
-rw-r--r--avahi-common/rr.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/avahi-common/rr.h b/avahi-common/rr.h
index 25d6eee..f5349e9 100644
--- a/avahi-common/rr.h
+++ b/avahi-common/rr.h
@@ -82,13 +82,11 @@ typedef struct {
guint32 ttl; /**< DNS TTL of this record */
union {
-
struct {
gpointer data;
guint16 size;
} generic; /**< Generic record data for unknown types */
-
struct {
guint16 priority;
@@ -200,6 +198,12 @@ gint avahi_record_lexicographical_compare(AvahiRecord *a, AvahiRecord *b);
/** Return TRUE if the specified record is an mDNS goodbye record. i.e. TTL is zero. */
gboolean avahi_record_is_goodbye(AvahiRecord *r);
+/** Check whether the specified key is valid */
+gboolean avahi_key_valid(AvahiKey *k);
+
+/** Check whether the specified record is valid */
+gboolean avahi_record_valid(AvahiRecord *r);
+
AVAHI_C_DECL_END
#endif