summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-message.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@codefactory.se>2003-01-31 13:36:36 +0000
committerAnders Carlsson <andersca@codefactory.se>2003-01-31 13:36:36 +0000
commit8ab042b9571dda44a5afcfe50e0d29dc9b58ecae (patch)
tree491e1fd75d970f09e6b939d17aa293432a603dd2 /dbus/dbus-message.h
parent482dab2076282ef1195564fa60dd25c1ffb77682 (diff)
2003-01-31 Anders Carlsson <andersca@codefactory.se>
* dbus/dbus-address.c: (dbus_address_entry_free): Free key and value lists. * dbus/dbus-internals.c: (_dbus_type_to_string): Add the types we didn't have. * dbus/dbus-marshal.c: (_dbus_marshal_get_arg_end_pos), (_dbus_marshal_validate_arg): Add NIL types. * dbus/dbus-message.c: (dbus_message_set_sender): Remove todo about being able to set sender to NULL. (dbus_message_set_is_error_reply), (dbus_message_get_is_error_reply): * dbus/dbus-message.h: New functions. * dbus/dbus-protocol.h: Add error reply flag. * test/data/valid-messages/opposite-endian.message: Add NIL type to test.
Diffstat (limited to 'dbus/dbus-message.h')
-rw-r--r--dbus/dbus-message.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/dbus/dbus-message.h b/dbus/dbus-message.h
index 77213f75..0d6b533e 100644
--- a/dbus/dbus-message.h
+++ b/dbus/dbus-message.h
@@ -45,11 +45,15 @@ DBusMessage *dbus_message_new_from_message (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);
-dbus_bool_t dbus_message_set_sender (DBusMessage *message,
- const char *sender);
-const char* dbus_message_get_sender (DBusMessage *message);
+const char* dbus_message_get_name (DBusMessage *message);
+const char* dbus_message_get_service (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_reply (DBusMessage *message,
+ dbus_bool_t is_error_reply);
+dbus_bool_t dbus_message_get_is_error_reply (DBusMessage *message);
+
dbus_bool_t dbus_message_append_fields (DBusMessage *message,
int first_field_type,