/**
* Initializes a DBusError structure.
+ *
+ * @todo calling dbus_error_init() in here is no good,
+ * for the same reason a GError* has to be set to NULL
+ * before you pass it in.
*
* @param error the DBusError.
*/
* Assigns an error name and message to a DBusError.
* Does nothing if error is #NULL.
*
+ * @todo calling dbus_error_init() in here is no good,
+ * for the same reason a GError* has to be set to NULL
+ * before you pass it in.
+ *
* @param error the error.
* @param name the error name (not copied!!!)
* @param message the error message (not copied!!!)
...);
void dbus_set_error_const (DBusError *error,
const char *name,
- const char *message);
-
-
+ const char *message);
void dbus_set_result (DBusResultCode *code_address,
DBusResultCode code);