summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-message.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-01-26 21:16:06 +0000
committerHavoc Pennington <hp@redhat.com>2003-01-26 21:16:06 +0000
commit2f440457d5fe45afb732820da64a147157e2e82d (patch)
tree82ed5d30be63cbbf9cdd9e993d789700c049d1bb /dbus/dbus-message.c
parent1d2478ae4f2da8869eab94ca455a1329230c179e (diff)
2003-01-26 Havoc Pennington <hp@pobox.com>
* dbus/dbus-message-builder.c: implement, completely untested. * test/data/*: add data to be used in testing. ".message" files are our simple loadable text format. ".message-raw" will be binary dumps of messages. * dbus/dbus-string.c (_dbus_string_starts_with_c_str): new
Diffstat (limited to 'dbus/dbus-message.c')
-rw-r--r--dbus/dbus-message.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/dbus/dbus-message.c b/dbus/dbus-message.c
index dfebb8ee..dae219a8 100644
--- a/dbus/dbus-message.c
+++ b/dbus/dbus-message.c
@@ -1470,6 +1470,13 @@ dbus_message_set_sender (DBusMessage *message,
}
}
+/**
+ * Gets the service which originated this message,
+ * or #NULL if unknown or inapplicable.
+ *
+ * @param message the message
+ * @returns the service name or #NULL
+ */
const char*
dbus_message_get_sender (DBusMessage *message)
{