summaryrefslogtreecommitdiff
path: root/dbus/dbus-asv-util.c
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2017-05-31 20:32:38 +0100
committerSimon McVittie <smcv@collabora.com>2017-06-08 16:59:46 +0100
commitdb5bab32febc297255d785ea3c11cc4b38862614 (patch)
tree2acfb9561fb9333bf333c359d28eda3aebf9527e /dbus/dbus-asv-util.c
parentecdcb86bff42d2bb9cac617bf79f0aa3d47676d9 (diff)
downloaddbus-db5bab32febc297255d785ea3c11cc4b38862614.tar.gz
asv-util: Expose functions to open an arbitrary entry
We'll need this to implement o.fd.DBus.Properties. Signed-off-by: Simon McVittie <smcv@collabora.com> Reviewed-by: Philip Withnall <withnall@endlessm.com> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=101257
Diffstat (limited to 'dbus/dbus-asv-util.c')
-rw-r--r--dbus/dbus-asv-util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbus/dbus-asv-util.c b/dbus/dbus-asv-util.c
index d3ac5e9c..fbb2e51e 100644
--- a/dbus/dbus-asv-util.c
+++ b/dbus/dbus-asv-util.c
@@ -80,7 +80,7 @@ _dbus_asv_new_method_return (DBusMessage *message,
* @param var_iter will be initialized to append (i.e. write) to the variant
* @returns #TRUE on success, or #FALSE if not enough memory
*/
-static dbus_bool_t
+dbus_bool_t
_dbus_asv_open_entry (DBusMessageIter *arr_iter,
DBusMessageIter *entry_iter,
const char *key,
@@ -118,7 +118,7 @@ _dbus_asv_open_entry (DBusMessageIter *arr_iter,
* @param var_iter the iterator appending to the variant, will be closed
* @returns #TRUE on success, or #FALSE if not enough memory
*/
-static dbus_bool_t
+dbus_bool_t
_dbus_asv_close_entry (DBusMessageIter *arr_iter,
DBusMessageIter *entry_iter,
DBusMessageIter *var_iter)
@@ -162,7 +162,7 @@ _dbus_asv_close (DBusMessageIter *iter,
* @param arr_iter the iterator appending to the array, will be closed
* @returns #TRUE on success, or #FALSE if not enough memory
*/
-static void
+void
_dbus_asv_abandon_entry (DBusMessageIter *arr_iter,
DBusMessageIter *entry_iter,
DBusMessageIter *var_iter)