From bdbad0d759c9f5c8092afd2cac4e1a76722b4517 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 21 Mar 2007 20:19:53 +0000 Subject: Move dictionary helper to common code --- hcid/dbus-common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hcid/dbus-common.h') 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; -- cgit