summaryrefslogtreecommitdiff
path: root/src/lib/eldbus/eldbus_service.h
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-01-23 15:45:22 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-01-23 15:45:22 +0900
commit86d9b4ed7153e91c9028af9a577c2d3a0dd32b52 (patch)
tree5e4e19741995b6215a77963254b1729ed791feec /src/lib/eldbus/eldbus_service.h
parent316dc52d2f758bba2263cd25b940d1e4457910fd (diff)
Registers a fallback handler for a given subsection of the object hierarchy.
Summary: Goal of this patch is cover in Eldbus library function dbus_connection_register_fallback. http://dbus.freedesktop.org/doc/api/html/group__DBusConnection.html#gac4473b37bfa74ccf7459959d27e7bc59 Reviewers: stanluk, raster Reviewed By: raster Differential Revision: https://phab.enlightenment.org/D479
Diffstat (limited to 'src/lib/eldbus/eldbus_service.h')
-rw-r--r--src/lib/eldbus/eldbus_service.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/lib/eldbus/eldbus_service.h b/src/lib/eldbus/eldbus_service.h
index 5fa839d..e5915dc 100644
--- a/src/lib/eldbus/eldbus_service.h
+++ b/src/lib/eldbus/eldbus_service.h
@@ -109,6 +109,21 @@ typedef struct _Eldbus_Service_Interface_Desc
109EAPI Eldbus_Service_Interface *eldbus_service_interface_register(Eldbus_Connection *conn, const char *path, const Eldbus_Service_Interface_Desc *desc) EINA_ARG_NONNULL(1, 2, 3); 109EAPI Eldbus_Service_Interface *eldbus_service_interface_register(Eldbus_Connection *conn, const char *path, const Eldbus_Service_Interface_Desc *desc) EINA_ARG_NONNULL(1, 2, 3);
110 110
111/** 111/**
112 * @brief Register a fallback interface handler for a given subsection of the object hierarchy.
113 * Note: Use eldbus_service_interface_unregister() to unregister a interface.
114 * @param conn where the interface should listen
115 * @param path a '/' delimited string of path elements
116 * @param desc description of interface
117 * @see eldbus_service_interface_unregister()
118 *
119 * @since 1.9
120 *
121 * @return Interface
122 */
123EAPI Eldbus_Service_Interface *
124eldbus_service_interface_fallback_register(Eldbus_Connection *conn, const char *path, const Eldbus_Service_Interface_Desc *desc) EINA_ARG_NONNULL(1, 2, 3);
125
126/**
112 * @brief Unregister a interface. 127 * @brief Unregister a interface.
113 * Note: This doesn't unregister the object path if interface count reaches 0. 128 * Note: This doesn't unregister the object path if interface count reaches 0.
114 * Use eldbus_service_object_unregister() to unregister the object. 129 * Use eldbus_service_object_unregister() to unregister the object.