summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-common.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-03-21 20:19:53 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-03-21 20:19:53 +0000
commitbdbad0d759c9f5c8092afd2cac4e1a76722b4517 (patch)
tree036ac711301237b2c6b20322ec8381c8261e7631 /hcid/dbus-common.h
parentb1d144b35ecdd617b00e6e07a43f7a7e07bafb7a (diff)
Move dictionary helper to common code
Diffstat (limited to 'hcid/dbus-common.h')
-rw-r--r--hcid/dbus-common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hcid/dbus-common.h b/hcid/dbus-common.h
index 4039a9cc..498f7eb4 100644
--- a/hcid/dbus-common.h
+++ b/hcid/dbus-common.h
@@ -36,6 +36,9 @@ typedef DBusHandlerResult (*service_handler_func_t) (DBusConnection *conn,
DBusMessage *msg,
void *user_data);
+void append_dict_entry(DBusMessageIter *dict, const char *key,
+ int type, void *val);
+
struct service_data {
const char *name;
service_handler_func_t handler_func;