summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-message.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-04-24 19:35:11 +0000
committerHavoc Pennington <hp@redhat.com>2003-04-24 19:35:11 +0000
commite8bf15b23a2a9c5b19ef25fb553006a41379bf7c (patch)
tree074ce3ddd02c11563a95f78f3ce9f4f40cb139c4 /dbus/dbus-message.h
parentc9cd648f115759176d35508e9007dc5520a0dd3f (diff)
2003-04-24 Havoc Pennington <hp@redhat.com>
* dbus/dbus-message.c (dbus_message_name_is): rename (dbus_message_service_is): rename (dbus_message_sender_is): rename (dbus_message_get_service): rename
Diffstat (limited to 'dbus/dbus-message.h')
-rw-r--r--dbus/dbus-message.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/dbus/dbus-message.h b/dbus/dbus-message.h
index f7ca1c4d..177f5a91 100644
--- a/dbus/dbus-message.h
+++ b/dbus/dbus-message.h
@@ -56,8 +56,8 @@ struct DBusMessageIter
};
-DBusMessage* dbus_message_new (const char *service,
- const char *name);
+DBusMessage* dbus_message_new (const char *name,
+ const char *destination_service);
DBusMessage* dbus_message_new_reply (DBusMessage *original_message);
DBusMessage* dbus_message_new_error_reply (DBusMessage *original_message,
const char *error_name,
@@ -67,18 +67,18 @@ DBusMessage *dbus_message_copy (const DBusMessage *message);
void dbus_message_ref (DBusMessage *message);
void dbus_message_unref (DBusMessage *message);
const char* dbus_message_get_name (DBusMessage *message);
-const char* dbus_message_get_service (DBusMessage *message);
+const char* dbus_message_get_destination (DBusMessage *message);
dbus_bool_t dbus_message_set_sender (DBusMessage *message,
const char *sender);
const char* dbus_message_get_sender (DBusMessage *message);
void dbus_message_set_is_error (DBusMessage *message,
dbus_bool_t is_error_reply);
dbus_bool_t dbus_message_get_is_error (DBusMessage *message);
-dbus_bool_t dbus_message_name_is (DBusMessage *message,
+dbus_bool_t dbus_message_has_name (DBusMessage *message,
const char *name);
-dbus_bool_t dbus_message_service_is (DBusMessage *message,
+dbus_bool_t dbus_message_has_destination (DBusMessage *message,
const char *service);
-dbus_bool_t dbus_message_sender_is (DBusMessage *message,
+dbus_bool_t dbus_message_has_sender (DBusMessage *message,
const char *service);
dbus_uint32_t dbus_message_get_serial (DBusMessage *message);
dbus_bool_t dbus_message_set_reply_serial (DBusMessage *message,