include: add auth method to the gprs context API

This commit is contained in:
Philip Paeps 2014-06-19 12:07:06 +02:00 committed by Denis Kenzior
parent f6341502c8
commit 7011dcdf2f
1 changed files with 6 additions and 0 deletions

View File

@ -48,6 +48,11 @@ enum ofono_gprs_context_type {
OFONO_GPRS_CONTEXT_TYPE_IMS,
};
enum ofono_gprs_auth_method {
OFONO_GPRS_AUTH_METHOD_CHAP = 0,
OFONO_GPRS_AUTH_METHOD_PAP,
};
struct ofono_gprs_primary_context {
unsigned int cid;
int direction;
@ -55,6 +60,7 @@ struct ofono_gprs_primary_context {
char username[OFONO_GPRS_MAX_USERNAME_LENGTH + 1];
char password[OFONO_GPRS_MAX_PASSWORD_LENGTH + 1];
enum ofono_gprs_proto proto;
enum ofono_gprs_auth_method auth_method;
};
typedef void (*ofono_gprs_context_cb_t)(const struct ofono_error *error,