summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Macht <holger@homac.de>2006-11-20 17:06:13 +0100
committerHolger Macht <holger@homac.de>2006-11-20 17:06:13 +0100
commit3f4415a5b9adf8ebbd7c0cb79bdff09f5807501a (patch)
treee5d8dadb2ec41a6d21261c492b6d42b730f4739c
parentc19ec12eea0bba0611329ecbae020acc5e6a8ba3 (diff)
move header documentation of liblazy_dbus_system_use_private_connection
-rw-r--r--liblazy/liblazy.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/liblazy/liblazy.h b/liblazy/liblazy.h
index 2a3bc0d..4f6e23b 100644
--- a/liblazy/liblazy.h
+++ b/liblazy/liblazy.h
@@ -57,22 +57,6 @@ void liblazy_free_string(char *string);
*/
void liblazy_free_strlist(char **strlist);
-/** @brief use a private connection for system bus messages
- *
- * Call this function with a boolean value to tell the library whether to
- * use a private connection for system bus messages
- * (liblazy_dbus_system*). Defaults to false. If a private connection is
- * used, the libarary creates a new connection on _every_ call and
- * immediately closes it. So this should be used very carefully. Only use
- * if your application does very rare dbus calls and doesn't have a
- * mainloop to listen if D-Bus died but still should be able to survive
- * D-Bus restarts.
- *
- * @param use_privat 1 if the library should use a private connection, 0
- * otherwise
- */
-void liblazy_dbus_system_use_private_connection(int use_private);
-
/** @brief send a method call to the system bus
*
* sends a method call to the system bus. The call blocks if a reply is
@@ -173,6 +157,22 @@ int liblazy_dbus_message_get_basic_arg(DBusMessage *message, int type,
int liblazy_dbus_message_get_strlist_arg(DBusMessage *message,
char ***strlist, int no);
+/** @brief use a private connection for system bus messages
+ *
+ * Call this function with a boolean value to tell the library whether to
+ * use a private connection for system bus messages
+ * (liblazy_dbus_system*). Defaults to false. If a private connection is
+ * used, the libarary creates a new connection on _every_ call and
+ * immediately closes it. So this should be used very carefully. Only use
+ * if your application does very rare dbus calls and doesn't have a
+ * mainloop to listen if D-Bus died but still should be able to survive
+ * D-Bus restarts.
+ *
+ * @param use_privat 1 if the library should use a private connection, 0
+ * otherwise
+ */
+void liblazy_dbus_system_use_private_connection(int use_private);
+
/** @brief get integer property from HAL
*
* fetches one interger value from HAL.