From 271b0424888d2c0d4488231bfaa8e3f8ab7bc782 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 1 Sep 2009 17:22:26 -0500 Subject: Add vendor flag capability to netreg --- include/netreg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/netreg.h') 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); -- cgit v1.2.3