From 2390820d323c5a411b48e64f49edbeca55d4bd27 Mon Sep 17 00:00:00 2001 From: Nishanth V Date: Thu, 7 Sep 2017 09:53:15 +0530 Subject: [PATCH] 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. --- include/netmon.h | 4 ++++ 1 file changed, 4 insertions(+) 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 {