summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNishanth V <nishanth.v@intel.com>2017-09-07 09:53:15 +0530
committerDenis Kenzior <denkenz@gmail.com>2017-09-08 15:06:10 -0500
commit2390820d323c5a411b48e64f49edbeca55d4bd27 (patch)
tree2257f9a31760d931545e469b69fc337723687149 /include
parent9e83110092619947142917c0e42ebf8a7319717e (diff)
downloadofono-2390820d323c5a411b48e64f49edbeca55d4bd27.tar.gz
include: added enable_periodic_update in netmon driver
Defining new method in ofono_netmon_driver, enable_periodic_update useful to get periodic update on serving cell information.
Diffstat (limited to 'include')
-rw-r--r--include/netmon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/netmon.h b/include/netmon.h
index 72090c32..c8fcafa6 100644
--- a/include/netmon.h
+++ b/include/netmon.h
@@ -39,6 +39,10 @@ struct ofono_netmon_driver {
void (*remove)(struct ofono_netmon *netmon);
void (*request_update)(struct ofono_netmon *netmon,
ofono_netmon_cb_t cb, void *data);
+ void (*enable_periodic_update)(struct ofono_netmon *netmon,
+ unsigned int enable,
+ unsigned int period,
+ ofono_netmon_cb_t cb, void *data);
};
enum ofono_netmon_cell_type {