summaryrefslogtreecommitdiff
path: root/src/lib/eldbus/eldbus_service.c
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-05-07 22:16:37 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2013-05-07 22:16:37 +0200
commit57b2cb52394cf808e22cbb5b6b7f267dab1ac4b3 (patch)
tree7c95b4782a74b06af9d4ef5b3f24c0484d1069e5 /src/lib/eldbus/eldbus_service.c
parentb10be8fb4cf134e2ab0cc2e34b4aec4ff50a5382 (diff)
eldbus_service: explicitly set flags to 0 in static _Signal and _Method structs
Diffstat (limited to 'src/lib/eldbus/eldbus_service.c')
-rw-r--r--src/lib/eldbus/eldbus_service.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/eldbus/eldbus_service.c b/src/lib/eldbus/eldbus_service.c
index 98f76de33b..22ad58adba 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
395} 395}
396 396
397static const Eldbus_Method introspect = { 397static const Eldbus_Method introspect = {
398 "Introspect", NULL, ELDBUS_ARGS({ "s", "xml" }), cb_introspect 398 "Introspect", NULL, ELDBUS_ARGS({ "s", "xml" }), cb_introspect, 0
399}; 399};
400 400
401static void 401static void
@@ -435,22 +435,22 @@ _default_interfaces_free(void)
435static const Eldbus_Method _property_methods[] = { 435static const Eldbus_Method _property_methods[] = {
436 { 436 {
437 "Get", ELDBUS_ARGS({"s", "interface"}, {"s", "property"}), 437 "Get", ELDBUS_ARGS({"s", "interface"}, {"s", "property"}),
438 ELDBUS_ARGS({"v", "value"}), _cb_property_get 438 ELDBUS_ARGS({"v", "value"}), _cb_property_get, 0
439 }, 439 },
440 { 440 {
441 "Set", ELDBUS_ARGS({"s", "interface"}, {"s", "property"}, {"v", "value"}), 441 "Set", ELDBUS_ARGS({"s", "interface"}, {"s", "property"}, {"v", "value"}),
442 NULL, _cb_property_set 442 NULL, _cb_property_set, 0
443 }, 443 },
444 { 444 {
445 "GetAll", ELDBUS_ARGS({"s", "interface"}), ELDBUS_ARGS({"a{sv}", "props"}), 445 "GetAll", ELDBUS_ARGS({"s", "interface"}), ELDBUS_ARGS({"a{sv}", "props"}),
446 _cb_property_getall 446 _cb_property_getall, 0
447 } 447 }
448}; 448};
449 449
450static const Eldbus_Signal _properties_signals[] = { 450static const Eldbus_Signal _properties_signals[] = {
451 { 451 {
452 "PropertiesChanged", 452 "PropertiesChanged",
453 ELDBUS_ARGS({"s", "interface"}, {"a{sv}", "changed_properties"}, {"as", "invalidated_properties"}) 453 ELDBUS_ARGS({"s", "interface"}, {"a{sv}", "changed_properties"}, {"as", "invalidated_properties"}), 0
454 } 454 }
455}; 455};
456 456
@@ -570,15 +570,15 @@ _cb_managed_objects(const Eldbus_Service_Interface *iface, const Eldbus_Message
570 570
571static Eldbus_Method get_managed_objects = { 571static Eldbus_Method get_managed_objects = {
572 "GetManagedObjects", NULL, ELDBUS_ARGS({"a{oa{sa{sv}}}", "objects"}), 572 "GetManagedObjects", NULL, ELDBUS_ARGS({"a{oa{sa{sv}}}", "objects"}),
573 _cb_managed_objects 573 _cb_managed_objects, 0
574}; 574};
575 575
576static const Eldbus_Signal _object_manager_signals[] = { 576static const Eldbus_Signal _object_manager_signals[] = {
577 { 577 {
578 "InterfacesAdded", ELDBUS_ARGS({"o", "object"}, {"a{sa{sv}}", "interfaces"}) 578 "InterfacesAdded", ELDBUS_ARGS({"o", "object"}, {"a{sa{sv}}", "interfaces"}), 0
579 }, 579 },
580 { 580 {
581 "InterfacesRemoved", ELDBUS_ARGS({"o", "object"}, {"as", "interfaces"}) 581 "InterfacesRemoved", ELDBUS_ARGS({"o", "object"}, {"as", "interfaces"}), 0
582 } 582 }
583}; 583};
584 584