summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Kenzior <denis.kenzior@intel.com>2009-09-01 18:00:58 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-09-01 18:14:58 -0500
commite5577046f06e8501d313e669b35455399ff09585 (patch)
treeab0afa33faa7ce951b413078f9018c513d385d1f /include
parentafb0e2b854848d1fbedeae9973541ee2cc0d2a9f (diff)
Add vendor flag capability to ussd
Diffstat (limited to 'include')
-rw-r--r--include/ussd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ussd.h b/include/ussd.h
index dd961b8a..feb20ce3 100644
--- a/include/ussd.h
+++ b/include/ussd.h
@@ -34,7 +34,7 @@ typedef void (*ofono_ussd_cb_t)(const struct ofono_error *error, void *data);
struct ofono_ussd_driver {
const char *name;
- int (*probe)(struct ofono_ussd *ussd);
+ int (*probe)(struct ofono_ussd *ussd, int vendor, void *data);
int (*remove)(struct ofono_ussd *ussd);
void (*request)(struct ofono_ussd *ussd, const char *str,
ofono_ussd_cb_t, void *data);
@@ -47,7 +47,7 @@ void ofono_ussd_notify(struct ofono_ussd *ussd, int status, const char *str);
int ofono_ussd_driver_register(const struct ofono_ussd_driver *d);
void ofono_ussd_driver_unregister(const struct ofono_ussd_driver *d);
-struct ofono_ussd *ofono_ussd_create(struct ofono_modem *modem,
+struct ofono_ussd *ofono_ussd_create(struct ofono_modem *modem, int vendor,
const char *driver, void *data);
void ofono_ussd_register(struct ofono_ussd *ussd);