diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-08-02 23:57:07 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-08-02 23:57:07 +0000 |
commit | f43187377e0c89ba02ca23e88efa01bbb255e037 (patch) | |
tree | 92dba5140c3932bf0debf2362a82f4f3b5d92bad /avahi-common | |
parent | 1a912326734243e57a461c48131c1a0402318b5a (diff) |
* replace guchar and gint by AvahiProtocol, AvahiIfIndex at many places where it make sense
* change avahi_add_{service,txt}_strlst() to copy the string list
* gcc warning fixes from Ikke
* limit number of DBUS connections
* limit objects created by a DBUS client
* limit number of clients
* limit number of entries a client may create
* add legal blurb to avahi-discover
* remove some obsolete import prototypes from avahi-discover
* don't include config.h in dbus.h
* add string definitions for DBUS errors
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@212 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-common')
-rw-r--r-- | avahi-common/dbus.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/avahi-common/dbus.h b/avahi-common/dbus.h index f6ad4d2..08f16f1 100644 --- a/avahi-common/dbus.h +++ b/avahi-common/dbus.h @@ -1,4 +1,6 @@ #ifndef foodbushfoo +#define foodbushfoo + /* $Id$ */ /*** @@ -20,9 +22,7 @@ USA. ***/ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif +AVAHI_C_DECL_BEGIN #define AVAHI_DBUS_NAME "org.freedesktop.Avahi" #define AVAHI_DBUS_INTERFACE_SERVER AVAHI_DBUS_NAME".Server" @@ -32,4 +32,13 @@ #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 |