summaryrefslogtreecommitdiffstats
path: root/avahi-common/dbus.h
diff options
context:
space:
mode:
authorTrent Lloyd <lathiat@bur.st>2005-07-29 02:03:26 +0000
committerTrent Lloyd <lathiat@bur.st>2005-07-29 02:03:26 +0000
commit368ed1a2a0d95964b3f88c70c9a8c5516367f3f7 (patch)
treec6a022c9db082d742dd04d89f314e7629884c7ba /avahi-common/dbus.h
parentec9c575fb8d6d9ee2f929ad6cd70177e35ba9cd3 (diff)
* Move dbus service #defines to avahi-common/dbus.h
* Move cdecl.h to installed common headers * Remove glib use from avahi-client * Only build avahi-client if dbus is enabled git-svn-id: file:///home/lennart/svn/public/avahi/trunk@190 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-common/dbus.h')
-rw-r--r--avahi-common/dbus.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/avahi-common/dbus.h b/avahi-common/dbus.h
new file mode 100644
index 0000000..27ee40a
--- /dev/null
+++ b/avahi-common/dbus.h
@@ -0,0 +1,35 @@
+#ifndef foodbushfoo
+/* $Id$ */
+
+/***
+ This file is part of avahi.
+
+ avahi is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of the
+ License, or (at your option) any later version.
+
+ avahi is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
+ Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with avahi; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA.
+***/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#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_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"
+
+#endif