summaryrefslogtreecommitdiff
path: root/include/ussd.h
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-09-01 21:39:02 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-09-01 21:39:02 -0500
commit422df0edfb321b0905ca85b02b31cb9c824a6d9d (patch)
tree8f3cee30af9e916524500694d73b25f8fcf650be /include/ussd.h
parentd8282ec589106639d272571adcb1f2eb1dc495e8 (diff)
downloadofono-422df0edfb321b0905ca85b02b31cb9c824a6d9d.tar.gz
change int vendor to unsigned int vendor
Diffstat (limited to 'include/ussd.h')
-rw-r--r--include/ussd.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/ussd.h b/include/ussd.h
index feb20ce3..6f5acdad 100644
--- a/include/ussd.h
+++ b/include/ussd.h
@@ -34,7 +34,7 @@ typedef void (*ofono_ussd_cb_t)(const struct ofono_error *error, void *data);
struct ofono_ussd_driver {
const char *name;
- int (*probe)(struct ofono_ussd *ussd, int vendor, void *data);
+ int (*probe)(struct ofono_ussd *ussd, unsigned int vendor, void *data);
int (*remove)(struct ofono_ussd *ussd);
void (*request)(struct ofono_ussd *ussd, const char *str,
ofono_ussd_cb_t, void *data);
@@ -47,7 +47,8 @@ void ofono_ussd_notify(struct ofono_ussd *ussd, int status, const char *str);
int ofono_ussd_driver_register(const struct ofono_ussd_driver *d);
void ofono_ussd_driver_unregister(const struct ofono_ussd_driver *d);
-struct ofono_ussd *ofono_ussd_create(struct ofono_modem *modem, int vendor,
+struct ofono_ussd *ofono_ussd_create(struct ofono_modem *modem,
+ unsigned int vendor,
const char *driver, void *data);
void ofono_ussd_register(struct ofono_ussd *ussd);