From c6160a1d5f62b418ae5d69c7bfa9a8958ea35683 Mon Sep 17 00:00:00 2001 From: Guillaume Zajac Date: Thu, 21 Jul 2011 06:40:41 +0200 Subject: cdma-connman: Add user/pass to driver activate Add username and password fields to cdma-connman's activate method. --- include/cdma-connman.h | 5 +++++ 1 file changed, 5 insertions(+) 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, -- cgit v1.2.3