X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-common%2Fdbus.h;h=08f16f1e16a6e5d9a132d42759c1efc61183fcac;hb=cc0a4994f07b61952a77549fffa1711014f936be;hp=27ee40a421a0889aa2f1db9f56585643e36a0e02;hpb=368ed1a2a0d95964b3f88c70c9a8c5516367f3f7;p=catta diff --git a/avahi-common/dbus.h b/avahi-common/dbus.h index 27ee40a..08f16f1 100644 --- a/avahi-common/dbus.h +++ b/avahi-common/dbus.h @@ -1,4 +1,6 @@ #ifndef foodbushfoo +#define foodbushfoo + /* $Id$ */ /*** @@ -20,16 +22,23 @@ USA. ***/ -#ifdef HAVE_CONFIG_H -#include -#endif +AVAHI_C_DECL_BEGIN #define AVAHI_DBUS_NAME "org.freedesktop.Avahi" #define AVAHI_DBUS_INTERFACE_SERVER AVAHI_DBUS_NAME".Server" -#define AVAHI_DBUS_PATH_SERVER "/org/freedesktop/Avahi/Server" +#define AVAHI_DBUS_PATH_SERVER "/" #define AVAHI_DBUS_INTERFACE_ENTRY_GROUP AVAHI_DBUS_NAME".EntryGroup" #define AVAHI_DBUS_INTERFACE_DOMAIN_BROWSER AVAHI_DBUS_NAME".DomainBrowser" #define AVAHI_DBUS_INTERFACE_SERVICE_TYPE_BROWSER AVAHI_DBUS_NAME".ServiceTypeBrowser" #define AVAHI_DBUS_INTERFACE_SERVICE_BROWSER AVAHI_DBUS_NAME".ServiceBrowser" +#define AVAHI_DBUS_ERROR_INVALID_SERVICE "org.freedesktop.Avahi.InvalidServiceError" +#define AVAHI_DBUS_ERROR_INVALID_ADDRESS "org.freedesktop.Avahi.InvalidAddressError" +#define AVAHI_DBUS_ERROR_TIMEOUT "org.freedesktop.Avahi.TimeoutError" +#define AVAHI_DBUS_ERROR_TOO_MANY_CLIENTS "org.freedesktop.Avahi.TooManyClientsError" +#define AVAHI_DBUS_ERROR_TOO_MANY_OBJECTS "org.freedesktop.Avahi.TooManyObjectsError" +#define AVAHI_DBUS_ERROR_TOO_MANY_ENTRIES "org.freedesktop.Avahi.TooManyEntriesError" + +AVAHI_C_DECL_END + #endif