summaryrefslogtreecommitdiffstats
path: root/include/phonebook.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/phonebook.h')
-rw-r--r--include/phonebook.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/phonebook.h b/include/phonebook.h
index a04747de..1fc154d2 100644
--- a/include/phonebook.h
+++ b/include/phonebook.h
@@ -38,7 +38,7 @@ typedef void (*ofono_phonebook_cb_t)(const struct ofono_error *error,
*/
struct ofono_phonebook_driver {
const char *name;
- int (*probe)(struct ofono_phonebook *pb);
+ int (*probe)(struct ofono_phonebook *pb, int vendor, void *data);
int (*remove)(struct ofono_phonebook *pb);
void (*export_entries)(struct ofono_phonebook *pb, const char *storage,
ofono_phonebook_cb_t cb, void *data);
@@ -56,6 +56,7 @@ int ofono_phonebook_driver_register(const struct ofono_phonebook_driver *d);
void ofono_phonebook_driver_unregister(const struct ofono_phonebook_driver *d);
struct ofono_phonebook *ofono_phonebook_create(struct ofono_modem *modem,
+ int vendor,
const char *driver,
void *data);