summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-08 14:03:18 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-09 11:43:59 +0000
commit33ed41f4fdb52e7ca12759f0ef9720691f86345a (patch)
treeea053c19ae879307b7492b901e05e531cc7e6ab5 /src/lib/ecore_con
parent64190277ea68e1275b8747b9111e33c4bf7ea801 (diff)
efl net - warn - fix eldbus service struct to fill all fields
no more warnings about uninit fields
Diffstat (limited to 'src/lib/ecore_con')
-rw-r--r--src/lib/ecore_con/efl_net_control-connman.c92
1 files changed, 56 insertions, 36 deletions
diff --git a/src/lib/ecore_con/efl_net_control-connman.c b/src/lib/ecore_con/efl_net_control-connman.c
index d2fb513..8334d4d 100644
--- a/src/lib/ecore_con/efl_net_control-connman.c
+++ b/src/lib/ecore_con/efl_net_control-connman.c
@@ -362,43 +362,63 @@ _efl_net_control_agent_request_peer_authorization(const Eldbus_Service_Interface
362} 362}
363 363
364static const Eldbus_Service_Interface_Desc _efl_net_control_agent_desc = { 364static const Eldbus_Service_Interface_Desc _efl_net_control_agent_desc = {
365 .interface = "net.connman.Agent", 365 .interface = "net.connman.Agent",
366 .methods = (const Eldbus_Method []){ 366 .methods = (const Eldbus_Method []) {
367 { 367 {
368 .member = "Release", 368 .member = "Release",
369 .cb = _efl_net_control_agent_release, 369 .in = NULL,
370 }, 370 .out = NULL,
371 { 371 .cb = _efl_net_control_agent_release,
372 .member = "ReportError", 372 .flags = 0
373 .in = ELDBUS_ARGS({"o", "service"}, {"s", "message"}), 373 },
374 .cb = _efl_net_control_agent_report_error, 374 {
375 }, 375 .member = "ReportError",
376 { 376 .in = ELDBUS_ARGS({"o", "service"}, {"s", "message"}),
377 .member = "RequestBrowser", 377 .out = NULL,
378 .in = ELDBUS_ARGS({"o", "service"}, {"s", "url"}), 378 .cb = _efl_net_control_agent_report_error,
379 .cb = _efl_net_control_agent_request_browser, 379 .flags = 0
380 }, 380 },
381 { 381 {
382 .member = "RequestInput", 382 .member = "RequestBrowser",
383 .in = ELDBUS_ARGS({"o", "service"}, {"a{sv}", "fields"}), 383 .in = ELDBUS_ARGS({"o", "service"}, {"s", "url"}),
384 .cb = _efl_net_control_agent_request_input, 384 .out = NULL,
385 }, 385 .cb = _efl_net_control_agent_request_browser,
386 { 386 .flags = 0
387 .member = "Cancel", 387 },
388 .cb = _efl_net_control_agent_cancel, 388 {
389 }, 389 .member = "RequestInput",
390 { 390 .in = ELDBUS_ARGS({"o", "service"}, {"a{sv}", "fields"}),
391 .member = "ReportPeerError", 391 .out = NULL,
392 .in = ELDBUS_ARGS({"o", "peer"}, {"s", "message"}), 392 .cb = _efl_net_control_agent_request_input,
393 .cb = _efl_net_control_agent_report_peer_error, 393 .flags = 0
394 }, 394 },
395 { 395 {
396 .member = "RequestPeerAuthorization", 396 .member = "Cancel",
397 .in = ELDBUS_ARGS({"o", "peer"}, {"a{sv}", "fields"}), 397 .in = NULL,
398 .cb = _efl_net_control_agent_request_peer_authorization, 398 .out = NULL,
399 }, 399 .cb = _efl_net_control_agent_cancel,
400 { } 400 .flags = 0
401 },
402 {
403 .member = "ReportPeerError",
404 .in = ELDBUS_ARGS({"o", "peer"}, {"s", "message"}),
405 .out = NULL,
406 .cb = _efl_net_control_agent_report_peer_error,
407 .flags = 0
408 },
409 {
410 .member = "RequestPeerAuthorization",
411 .in = ELDBUS_ARGS({"o", "peer"}, {"a{sv}", "fields"}),
412 .out = NULL,
413 .cb = _efl_net_control_agent_request_peer_authorization,
414 .flags = 0
415 },
416 { NULL, NULL, NULL, NULL, 0 }
401 }, 417 },
418 .signals = NULL,
419 .properties = NULL,
420 .default_get = NULL,
421 .default_set = NULL
402}; 422};
403 423
404static void 424static void