summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-protocol.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@codefactory.se>2003-01-25 20:52:33 +0000
committerAnders Carlsson <andersca@codefactory.se>2003-01-25 20:52:33 +0000
commitfdddf7246da9ea6ce841146e2befe843aede0466 (patch)
treeb38a5a51ba37186c4efe074a5a8b93f15e38c458 /dbus/dbus-protocol.h
parenta2a681582929ada667de5d05d5168f8a1f313800 (diff)
2003-01-25 Anders Carlsson <andersca@codefactory.se>
* dbus/dbus-internals.h: Add _DBUS_HANDLE_OOM macro, it doesn't do anything currently. * dbus/dbus-message.c: (dbus_message_get_sender): * dbus/dbus-message.h: Implement dbus_message_get_sender. * dbus/dbus-protocol.h: Add message and service defines.
Diffstat (limited to 'dbus/dbus-protocol.h')
-rw-r--r--dbus/dbus-protocol.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/dbus/dbus-protocol.h b/dbus/dbus-protocol.h
index fb0169cd..fe397f41 100644
--- a/dbus/dbus-protocol.h
+++ b/dbus/dbus-protocol.h
@@ -55,6 +55,18 @@ extern "C" {
#define DBUS_HEADER_FIELD_SERVICE "srvc"
#define DBUS_HEADER_FIELD_REPLY "rply"
#define DBUS_HEADER_FIELD_SENDER "sndr"
+
+/* Services */
+#define DBUS_SERVICE_DBUS "org.freedesktop.DBus"
+#define DBUS_SERVICE_BROADCAST "org.freedesktop.DBus.Broadcast"
+
+/* Messages */
+#define DBUS_MESSAGE_HELLO "org.freedesktop.DBus.Hello"
+#define DBUS_MESSAGE_LIST_SERVICES "org.freedesktop.DBus.ListServices"
+#define DBUS_MESSAGE_SERVICE_CREATED "org.freedesktop.DBus.ServiceCreated"
+#define DBUS_MESSAGE_SERVICE_DELETED "org.freedesktop.DBus.ServiceDeleted"
+#define DBUS_MESSAGE_SERVICES "org.freedesktop.DBus.Services"
+#define DBUS_MESSAGE_WELCOME "org.freedesktop.DBus.Welcome"
#ifdef __cplusplus
}