summaryrefslogtreecommitdiffstats
path: root/include/phonebook.h
diff options
context:
space:
mode:
authorDenis Kenzior <denis.kenzior@intel.com>2009-09-01 17:32:07 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-09-01 18:14:58 -0500
commit1fb9ecca468a56e237047db01193582c6c7fb889 (patch)
treee09967ceca15b75db03b6945871d33bde0f22dd6 /include/phonebook.h
parent271b0424888d2c0d4488231bfaa8e3f8ab7bc782 (diff)
downloadofono-1fb9ecca468a56e237047db01193582c6c7fb889.tar.bz2
Add vendor flag capability to phonebook
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);