diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-08-17 15:32:34 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-08-17 15:32:34 -0500 |
commit | 95573a4d8d24066d7550d265996f182446fb09e4 (patch) | |
tree | 9ad37c056878ee11871cd871b178a4df965472d5 | |
parent | 00f606b3e855c2de50e69f05fe0e3daee9a41d6d (diff) | |
download | ofono-95573a4d8d24066d7550d265996f182446fb09e4.tar.bz2 |
Move network-operator status enum out of common.h
-rw-r--r-- | src/common.h | 8 | ||||
-rw-r--r-- | src/network.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/common.h b/src/common.h index 0df44e0b..c1db5b31 100644 --- a/src/common.h +++ b/src/common.h @@ -19,14 +19,6 @@ * */ -/* 27.007 Section 7.3 <stat> */ -enum operator_status { - OPERATOR_STATUS_UNKNOWN = 0, - OPERATOR_STATUS_AVAILABLE = 1, - OPERATOR_STATUS_CURRENT = 2, - OPERATOR_STATUS_FORBIDDEN = 3 -}; - /* 27.007 Section 7.3 <AcT> */ enum access_technology { ACCESS_TECHNOLOGY_GSM = 0, diff --git a/src/network.c b/src/network.c index 12d6f6ef..1f9a2fcd 100644 --- a/src/network.c +++ b/src/network.c @@ -50,6 +50,14 @@ /* How often we update the operator list, in seconds */ #define OPERATOR_LIST_UPDATE_TIME 300 +/* 27.007 Section 7.3 <stat> */ +enum operator_status { + OPERATOR_STATUS_UNKNOWN = 0, + OPERATOR_STATUS_AVAILABLE = 1, + OPERATOR_STATUS_CURRENT = 2, + OPERATOR_STATUS_FORBIDDEN = 3 +}; + struct network_registration_data { int status; int location; |