netmon: adding get function for neighbouring cell information

Added declaration of functions and structures required for getting
neighbouring cell information.
This commit is contained in:
Antara Borwankar 2019-06-07 11:56:55 +05:30 committed by Denis Kenzior
parent df36faccd9
commit dbcd081a63
1 changed files with 6 additions and 0 deletions

View File

@ -43,6 +43,8 @@ struct ofono_netmon_driver {
unsigned int enable,
unsigned int period,
ofono_netmon_cb_t cb, void *data);
void (*neighbouring_cell_update)(struct ofono_netmon *netmon,
ofono_netmon_cb_t cb, void *data);
};
enum ofono_netmon_cell_type {
@ -104,6 +106,10 @@ void ofono_netmon_set_data(struct ofono_netmon *netmon, void *data);
void *ofono_netmon_get_data(struct ofono_netmon *netmon);
void ofono_netmon_neighbouring_cell_notify(struct ofono_netmon *netmon,
enum ofono_netmon_cell_type type,
int info_type, ...);
#ifdef __cplusplus
}
#endif