diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-08-05 18:59:21 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-08-05 18:59:21 +0000 |
commit | 0632e854728e8e64552ae08f90852d4a2658539e (patch) | |
tree | 0fab7d52e01da7ab9b81b8409dcf70cceb7d2852 /avahi-common/util.h | |
parent | d76069e946b4e89c828c96340677e40f583080c9 (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/util.h')
-rw-r--r-- | avahi-common/util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/avahi-common/util.h b/avahi-common/util.h index 731a5a1..0d4fb4b 100644 --- a/avahi-common/util.h +++ b/avahi-common/util.h @@ -60,6 +60,11 @@ guint avahi_domain_hash(const gchar *s); gchar *avahi_format_mac_address(const guint8* mac, guint size); +gboolean avahi_valid_service_type(const gchar *t); +gboolean avahi_valid_domain_name(const gchar *t); +gboolean avahi_valid_service_name(const gchar *t); +gboolean avahi_valid_host_name(const gchar *t); + AVAHI_C_DECL_END #endif |