summaryrefslogtreecommitdiffstats
path: root/gatchat/ppp_cp.h
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-04-05 10:13:10 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-04-05 10:13:10 -0500
commitd6517e63fe41799540d9016172999abb9b70abe5 (patch)
treea8cd944efca16029981c984b230b2921fd5a9128 /gatchat/ppp_cp.h
parente56710e1da3e4f7ab0c71d450532257e35e7ccb1 (diff)
downloadofono-d6517e63fe41799540d9016172999abb9b70abe5.tar.bz2
Refactor: Make the enum assignments explicit
They will be used for certain magic later on
Diffstat (limited to 'gatchat/ppp_cp.h')
-rw-r--r--gatchat/ppp_cp.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/gatchat/ppp_cp.h b/gatchat/ppp_cp.h
index 89394e9c..424040b4 100644
--- a/gatchat/ppp_cp.h
+++ b/gatchat/ppp_cp.h
@@ -36,22 +36,22 @@ enum pppcp_code {
};
enum pppcp_event_type {
- UP,
- DOWN,
- OPEN,
- CLOSE,
- TO_PLUS,
- TO_MINUS,
- RCR_PLUS,
- RCR_MINUS,
- RCA,
- RCN,
- RTR,
- RTA,
- RUC,
- RXJ_PLUS,
- RXJ_MINUS,
- RXR,
+ UP = 0,
+ DOWN = 1,
+ OPEN = 2,
+ CLOSE = 3,
+ TO_PLUS = 4,
+ TO_MINUS = 5,
+ RCR_PLUS = 6,
+ RCR_MINUS = 7,
+ RCA = 8,
+ RCN = 9,
+ RTR = 10,
+ RTA = 11,
+ RUC = 12,
+ RXJ_PLUS = 13,
+ RXJ_MINUS = 14,
+ RXR = 15,
};
/* option format */