diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-08-20 14:12:10 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-08-20 14:12:10 +0000 |
commit | dad41109f1726a876dd918290187d0a5296b267d (patch) | |
tree | c0ea9b707ff6e1f6a2e047ae1bfaa4d1c6c14232 /avahi-common/dbus.h | |
parent | a52bd64a8db2c07bb2309cf2d8b888cc1a47ec56 (diff) |
* many improvements to avahi-client (especially error handling)
* Document AVahi error handling a little
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@358 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-common/dbus.h')
-rw-r--r-- | avahi-common/dbus.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/avahi-common/dbus.h b/avahi-common/dbus.h index 0164bdb..bcbbb99 100644 --- a/avahi-common/dbus.h +++ b/avahi-common/dbus.h @@ -27,7 +27,9 @@ #include <avahi-common/cdecl.h> #include <dbus/dbus.h> +#ifndef DOXYGEN_SHOULD_SKIP_THIS AVAHI_C_DECL_BEGIN +#endif #define AVAHI_DBUS_NAME "org.freedesktop.Avahi" #define AVAHI_DBUS_INTERFACE_SERVER AVAHI_DBUS_NAME".Server" @@ -64,13 +66,14 @@ AVAHI_C_DECL_BEGIN #define AVAHI_DBUS_ERR_INVALID_OBJECT "org.freedesktop.Avahi.InvalidObjectError" #define AVAHI_DBUS_ERR_NO_DAEMON "org.freedesktop.Avahi.NoDaemonError" - /** Convert a DBus error string into an Avahi error number */ -int avahi_error_dbus_to_number (const char *s); +int avahi_error_dbus_to_number(const char *s); /** Convert an Avahi error number into a DBus error string. Result should not be freed */ -const char * avahi_error_number_to_dbus (int error); +const char * avahi_error_number_to_dbus(int error); +#ifndef DOXYGEN_SHOULD_SKIP_THIS AVAHI_C_DECL_END +#endif #endif |