diff options
author | Guillaume Zajac <guillaume.zajac@linux.intel.com> | 2011-07-21 06:40:41 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-07-21 04:31:03 -0500 |
commit | c6160a1d5f62b418ae5d69c7bfa9a8958ea35683 (patch) | |
tree | 6eedbe781c088d4620267b2a07cc2eb34f7142d5 /include/cdma-connman.h | |
parent | 0ac42ce3e4e3afb2fdbc72a1eda0296099afeed3 (diff) |
cdma-connman: Add user/pass to driver activate
Add username and password fields to cdma-connman's activate method.
Diffstat (limited to 'include/cdma-connman.h')
-rw-r--r-- | include/cdma-connman.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/cdma-connman.h b/include/cdma-connman.h index 22252e07..6a1c9ff5 100644 --- a/include/cdma-connman.h +++ b/include/cdma-connman.h @@ -30,6 +30,9 @@ extern "C" { struct ofono_cdma_connman; +#define OFONO_CDMA_CONNMAN_MAX_USERNAME_LENGTH 63 +#define OFONO_CDMA_CONNMAN_MAX_PASSWORD_LENGTH 255 + typedef void (*ofono_cdma_connman_cb_t)(const struct ofono_error *error, void *data); typedef void (*ofono_cdma_connman_up_cb_t)(const struct ofono_error *error, @@ -47,6 +50,8 @@ struct ofono_cdma_connman_driver { void *data); void (*remove)(struct ofono_cdma_connman *cm); void (*activate)(struct ofono_cdma_connman *cm, + const char *username, + const char *password, ofono_cdma_connman_up_cb_t cb, void *data); void (*deactivate)(struct ofono_cdma_connman *cm, |