summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Kenzior <denis.kenzior@intel.com>2009-09-01 17:22:26 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-09-01 18:14:58 -0500
commit271b0424888d2c0d4488231bfaa8e3f8ab7bc782 (patch)
tree22b7d65e7b8e2c548db0f617ee4a8179c100396f /include
parentc7d35dd039b60670e4175b49f377275c6569953f (diff)
Add vendor flag capability to netreg
Diffstat (limited to 'include')
-rw-r--r--include/netreg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/netreg.h b/include/netreg.h
index d5247517..9bb94783 100644
--- a/include/netreg.h
+++ b/include/netreg.h
@@ -70,7 +70,7 @@ typedef void (*ofono_netreg_strength_cb_t)(const struct ofono_error *error,
*/
struct ofono_netreg_driver {
const char *name;
- int (*probe)(struct ofono_netreg *netreg);
+ int (*probe)(struct ofono_netreg *netreg, int vendor, void *data);
int (*remove)(struct ofono_netreg *netreg);
void (*registration_status)(struct ofono_netreg *netreg,
ofono_netreg_status_cb_t cb, void *data);
@@ -96,7 +96,7 @@ void ofono_netreg_status_notify(struct ofono_netreg *netreg, int status,
int ofono_netreg_driver_register(const struct ofono_netreg_driver *d);
void ofono_netreg_driver_unregister(const struct ofono_netreg_driver *d);
-struct ofono_netreg *ofono_netreg_create(struct ofono_modem *modem,
+struct ofono_netreg *ofono_netreg_create(struct ofono_modem *modem, int vendor,
const char *driver, void *data);
void ofono_netreg_register(struct ofono_netreg *netreg);