diff options
Diffstat (limited to 'dbus/dbus-message.c')
-rw-r--r-- | dbus/dbus-message.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dbus/dbus-message.c b/dbus/dbus-message.c index 85b49cbe..1c9c7ea2 100644 --- a/dbus/dbus-message.c +++ b/dbus/dbus-message.c @@ -774,6 +774,12 @@ dbus_message_new_reply (const char *name, return message; } +/** + * Creates a new message that is an exact replica of the message + * specified, except that its refcount is set to 1. + * + * @param message the message. + * @returns the new message. DBusMessage * dbus_message_new_from_message (const DBusMessage *message) { @@ -1628,6 +1634,10 @@ dbus_message_get_sender (DBusMessage *message) * _DBUS_INT_MAX; and add 16 for paranoia, since a message * over 128M is pretty nuts anyhow. */ + +/** + * The maximum sane message size. + */ #define MAX_SANE_MESSAGE_SIZE (_DBUS_INT_MAX/16) /** |