jeyzu pushed a commit to branch master.

commit 57b2cb52394cf808e22cbb5b6b7f267dab1ac4b3
Author: Jérémy Zurcher <[email protected]>
Date:   Tue May 7 22:16:37 2013 +0200

    eldbus_service: explicitly set flags to 0 in static _Signal and _Method 
structs
---
 src/lib/eldbus/eldbus_service.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/lib/eldbus/eldbus_service.c b/src/lib/eldbus/eldbus_service.c
index 98f76de..22ad58a 100644
--- a/src/lib/eldbus/eldbus_service.c
+++ b/src/lib/eldbus/eldbus_service.c
@@ -395,7 +395,7 @@ cb_introspect(const Eldbus_Service_Interface *_iface, const 
Eldbus_Message *mess
 }
 
 static const Eldbus_Method introspect = {
-   "Introspect", NULL, ELDBUS_ARGS({ "s", "xml" }), cb_introspect
+   "Introspect", NULL, ELDBUS_ARGS({ "s", "xml" }), cb_introspect, 0
 };
 
 static void
@@ -435,22 +435,22 @@ _default_interfaces_free(void)
 static const Eldbus_Method _property_methods[] = {
    {
     "Get", ELDBUS_ARGS({"s", "interface"}, {"s", "property"}),
-    ELDBUS_ARGS({"v", "value"}), _cb_property_get
+    ELDBUS_ARGS({"v", "value"}), _cb_property_get, 0
    },
    {
     "Set", ELDBUS_ARGS({"s", "interface"}, {"s", "property"}, {"v", "value"}),
-    NULL, _cb_property_set
+    NULL, _cb_property_set, 0
    },
    {
     "GetAll", ELDBUS_ARGS({"s", "interface"}), ELDBUS_ARGS({"a{sv}", "props"}),
-    _cb_property_getall
+    _cb_property_getall, 0
    }
 };
 
 static const Eldbus_Signal _properties_signals[] = {
    {
     "PropertiesChanged",
-    ELDBUS_ARGS({"s", "interface"}, {"a{sv}", "changed_properties"}, {"as", 
"invalidated_properties"})
+    ELDBUS_ARGS({"s", "interface"}, {"a{sv}", "changed_properties"}, {"as", 
"invalidated_properties"}), 0
    }
 };
 
@@ -570,15 +570,15 @@ _cb_managed_objects(const Eldbus_Service_Interface 
*iface, const Eldbus_Message
 
 static Eldbus_Method get_managed_objects = {
    "GetManagedObjects", NULL, ELDBUS_ARGS({"a{oa{sa{sv}}}", "objects"}),
-   _cb_managed_objects
+   _cb_managed_objects, 0
 };
 
 static const Eldbus_Signal _object_manager_signals[] = {
    {
-    "InterfacesAdded", ELDBUS_ARGS({"o", "object"}, {"a{sa{sv}}", 
"interfaces"})
+    "InterfacesAdded", ELDBUS_ARGS({"o", "object"}, {"a{sa{sv}}", 
"interfaces"}), 0
    },
    {
-    "InterfacesRemoved", ELDBUS_ARGS({"o", "object"}, {"as", "interfaces"})
+    "InterfacesRemoved", ELDBUS_ARGS({"o", "object"}, {"as", "interfaces"}), 0
    }
 };
 

-- 

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may

Reply via email to