diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-08-13 10:58:42 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-08-14 11:19:09 -0500 |
commit | 872a24690d7890f1b861037476f9270e5ad728f4 (patch) | |
tree | 32c4a1033159e741a3277a1d1876744f56b8c4fc /src/driver.h | |
parent | 2f37befd2712df3382840d8fd10188ca74a5a409 (diff) | |
download | ofono-872a24690d7890f1b861037476f9270e5ad728f4.tar.bz2 |
Evolve the call-forwarding driver
Diffstat (limited to 'src/driver.h')
-rw-r--r-- | src/driver.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/driver.h b/src/driver.h index 168a7115..f1a104db 100644 --- a/src/driver.h +++ b/src/driver.h @@ -69,14 +69,6 @@ struct ofono_network_operator { int tech; }; -/* 27.007 Section 7.11 Call Forwarding */ -struct ofono_cf_condition { - int status; - int cls; - struct ofono_phone_number phone_number; - int time; -}; - /* 51.011 Section 9.3 */ enum ofono_sim_file_structure { OFONO_SIM_FILE_STRUCTURE_TRANSPARENT = 0, @@ -115,11 +107,6 @@ typedef void (*ofono_registration_status_cb_t)(const struct ofono_error *error, typedef void (*ofono_signal_strength_cb_t)(const struct ofono_error *error, int strength, void *data); -typedef void (*ofono_call_forwarding_query_cb_t)(const struct ofono_error *error, - int total, - const struct ofono_cf_condition *list, - void *data); - typedef void (*ofono_modem_attribute_query_cb_t)(const struct ofono_error *error, const char *attribute, void *data); @@ -259,24 +246,6 @@ void ofono_cssi_notify(struct ofono_modem *modem, int code, int index); void ofono_cssu_notify(struct ofono_modem *modem, int code, int index, const struct ofono_phone_number *number); -struct ofono_call_forwarding_ops { - void (*activation)(struct ofono_modem *modem, int type, int cls, - ofono_generic_cb_t cb, void *data); - void (*registration)(struct ofono_modem *modem, int type, int cls, - const struct ofono_phone_number *number, - int time, ofono_generic_cb_t cb, void *data); - void (*deactivation)(struct ofono_modem *modem, int type, int cls, - ofono_generic_cb_t cb, void *data); - void (*erasure)(struct ofono_modem *modem, int type, int cls, - ofono_generic_cb_t cb, void *data); - void (*query)(struct ofono_modem *modem, int type, int cls, - ofono_call_forwarding_query_cb_t cb, void *data); -}; - -int ofono_call_forwarding_register(struct ofono_modem *modem, - struct ofono_call_forwarding_ops *ops); -void ofono_call_forwarding_unregister(struct ofono_modem *modem); - struct ofono_ussd_ops { void (*request)(struct ofono_modem *modem, const char *str, ofono_generic_cb_t cb, void *data); |