From 1fb9ecca468a56e237047db01193582c6c7fb889 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 1 Sep 2009 17:32:07 -0500 Subject: Add vendor flag capability to phonebook --- include/phonebook.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/phonebook.h') 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); -- cgit v1.2.3