summaryrefslogtreecommitdiff
path: root/include/cdma-connman.h
diff options
context:
space:
mode:
authorGuillaume Zajac <guillaume.zajac@linux.intel.com>2011-07-21 06:40:41 +0200
committerDenis Kenzior <denkenz@gmail.com>2011-07-21 04:31:03 -0500
commitc6160a1d5f62b418ae5d69c7bfa9a8958ea35683 (patch)
tree6eedbe781c088d4620267b2a07cc2eb34f7142d5 /include/cdma-connman.h
parent0ac42ce3e4e3afb2fdbc72a1eda0296099afeed3 (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.h5
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,