#ifndef GNUNET_DBUS_LIB_MESSAGE_H #define GNUNET_DBUS_LIB_MESSAGE_H #include #include #include "gnunet_dbus_lib_client.h" /** * Get the value of this message's pretty-encoding flag. This flag controls * whether data pushed to the message will be pretty-encoded for transmission * over DBus. */ bool GNUNET_DBUS_message_get_pretty ( DBusMessage *message); /** * Set the value of this message's pretty-encoding flag. This flag controls * whether data pushed to the message will be pretty-encoded for transmission * over DBus. */ void GNUNET_DBUS_message_set_pretty ( DBusMessage *message, bool pretty); /** * Set the destination of this message to the DBus address of the * GNUNET_DBUS_Client. */ void GNUNET_DBUS_message_set_destination ( DBusMessage *message, struct GNUNET_DBUS_Client *client); /** * Set the destination of this message to NULL. */ void GNUNET_DBUS_message_unset_destination ( DBusMessage *message); #endif