summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRegis Merlino <regis.merlino@intel.com>2013-07-23 11:13:20 +0200
committerRegis Merlino <regis.merlino@intel.com>2013-07-23 11:13:20 +0200
commita56c850798271ffb645744c066220401106a972a (patch)
tree8754ee02bd4ac41abacedcd1ef8e5e2599cb460a
parente992f5ef8f3cf2a4f1c519b1aafde85e6c4080d6 (diff)
downloaddleyna-core-a56c850798271ffb645744c066220401106a972a.tar.gz
[Connector] Change publish_object() signature
The interface_index parameter relates to the corresponding xml part from the introspection data passed to initialize(). This was convenient for the d-bus connector implementation, but required xml parsing for other connector implementations. This commit replaces the interface_index parameter with the actual interface name to avoid the xml parsing task. Signed-off-by: Regis Merlino <regis.merlino@intel.com>
-rw-r--r--configure.ac2
-rw-r--r--libdleyna/core/connector.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 2298677..67dbcd2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,7 +1,7 @@
AC_PREREQ([2.66])
AC_INIT([dleyna-core],
- [0.2.0],
+ [0.2.1],
[https://github.com/01org/dleyna-core/issues/new],
,
[https://01.org/dleyna/])
diff --git a/libdleyna/core/connector.h b/libdleyna/core/connector.h
index d9599a6..39573cd 100644
--- a/libdleyna/core/connector.h
+++ b/libdleyna/core/connector.h
@@ -67,7 +67,7 @@ typedef guint (*dleyna_connector_publish_object_t)(
dleyna_connector_id_t connection,
const gchar *object_path,
gboolean root,
- guint interface_index,
+ const gchar* interface_name,
const dleyna_connector_dispatch_cb_t *cb_table_1);
typedef guint (*dleyna_connector_publish_subtree_t)(
dleyna_connector_id_t connection,