gprs: Update gprs context struct with IPv6 support

This commit is contained in:
Denis Kenzior 2010-07-19 13:49:35 -05:00
parent 9cbcd87861
commit b3237600c4
1 changed files with 6 additions and 0 deletions

View File

@ -34,12 +34,18 @@ struct ofono_gprs_context;
#define OFONO_GPRS_MAX_USERNAME_LENGTH 63
#define OFONO_GPRS_MAX_PASSWORD_LENGTH 255
enum ofono_gprs_proto {
OFONO_GPRS_PROTO_IP = 0,
OFONO_GPRS_PROTO_IPV6,
};
struct ofono_gprs_primary_context {
unsigned int cid;
int direction;
char apn[OFONO_GPRS_MAX_APN_LENGTH + 1];
char username[OFONO_GPRS_MAX_USERNAME_LENGTH + 1];
char password[OFONO_GPRS_MAX_PASSWORD_LENGTH + 1];
enum ofono_gprs_proto proto;
};
typedef void (*ofono_gprs_context_cb_t)(const struct ofono_error *error,