summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarit Henriksen <marit.henriksen@stericsson.com>2011-01-14 12:16:45 +0100
committerMarcel Holtmann <marcel@holtmann.org>2011-01-14 14:32:04 +0100
commit140d092a00e7fafd81ec2e37a2b1f9a62fd6a608 (patch)
tree4c3239139a4c47bfb5ecb45e660915199a26533c
parent1fe79aa8a575add980d7319e8caffd46fd4098d9 (diff)
downloadofono-140d092a00e7fafd81ec2e37a2b1f9a62fd6a608.tar.bz2
src: Added enum for PDP context status.
-rw-r--r--src/common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index 64f297e3..234ef4af 100644
--- a/src/common.h
+++ b/src/common.h
@@ -129,6 +129,12 @@ enum pin_type {
PIN_TYPE_NET,
};
+/* 27.007 Section 10.1.10 */
+enum context_status {
+ CONTEXT_STATUS_DEACTIVATED = 0,
+ CONTEXT_STATUS_ACTIVATED = 1,
+};
+
const char *telephony_error_to_str(const struct ofono_error *error);
gboolean valid_phone_number_format(const char *number);