aboutsummaryrefslogtreecommitdiffstats
path: root/binding/network-util.c
AgeCommit message (Collapse)AuthorFilesLines
2019-09-04fix(network-util.c): Remove -Woverflow warningLi Xiaoming1-1/+1
agl-service-network/binding/network-util.c:160:14: warning: integer overflow in expression ‘-2147483648’ of type ‘long int’ results in ‘-2147483648’ [-Woverflow] if (i64 >= -(1L << 31) && i64 < (1L << 31)) Bug-AGL: SPEC-2422 Change-Id: I3bdc78527b1fff44917561ea49dcfefa7a4d83a2 Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2019-09-04fix(network-util.c): Remove -Wformat warningLi Xiaoming1-1/+1
agl-service-network/binding/network-util.c:281:16: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘gsize’ {aka ‘unsigned int’} [-Wformat=] AFB_WARNING("Can't handle variants with more than one children (%lu)", nitems); Bug-AGL: SPEC-2422 Change-Id: I0805dd2c1828818000cc92b7a8ea1e4c90e39073 Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2019-06-20binding: network: fix conversion compiler warningsMatt Ranostay1-3/+6
Remove follow warnings by switching from int to size_t warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] Bug-AGL: SPEC-2535 Change-Id: I03bb459454d49d9771bc1101338e80c3f394a00e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-08-22binding: networking: add type to simple_gvariant_to_jsonguppy_6.90.0guppy/6.90.0flounder_5.99.6flounder_5.99.5flounder_5.99.4flounder/5.99.6flounder/5.99.5flounder/5.99.46.90.05.99.65.99.55.99.4Matt Ranostay1-0/+1
add G_VARIANT_CLASS_OBJECT_PATH to processing function since it is effectively a string. Change-Id: Ifb079681a840442ee75e755c33abd162db1d9d2a Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-08-10binding: network: upgrade to AFB v3 frameworkMatt Ranostay1-1/+1
Upgrade the binding to use v3 datatypes, and function parameters. Bug-AGL: SPEC-1660 Change-Id: I50b88b8d87a7176917bfa639bc8cffc0bc2bed89 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-07-10initial network service bindingPantelis Antoniou1-0/+1015
The AGL network service binding exposes connman apis via the AGL application framework. All network connectivity technologies are supported via the binding, limited only by the underlying connman daemon. Bug-AGL: SPEC-1540 Change-Id: Id73cfc98c7abe97cb655a4fc40d440422fa75803 Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> [Cleanups to whitespace and naming to match other services] Signed-off-by: Matt Porter <mporter@konsulko.com>