summaryrefslogtreecommitdiff
path: root/gisi/common.h
diff options
context:
space:
mode:
authorAki Niemi <aki.niemi@nokia.com>2011-02-04 14:47:00 +0200
committerAki Niemi <aki.niemi@nokia.com>2011-02-07 09:51:34 +0200
commit6ac4d143a9d23cc06632b16d4194656e8324d2f6 (patch)
tree7dd337e662bdd9f078def6b339fe831e9b0941c7 /gisi/common.h
parent04146d62dfb3c83602c7e103f0a4f5342d1c3e17 (diff)
downloadofono-6ac4d143a9d23cc06632b16d4194656e8324d2f6.tar.gz
gisi: Refactor netlink
Don't use typedefs for enum types, and move PhoNet device enum over to common.h.
Diffstat (limited to 'gisi/common.h')
-rw-r--r--gisi/common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gisi/common.h b/gisi/common.h
index 83a8cf54..6d639c39 100644
--- a/gisi/common.h
+++ b/gisi/common.h
@@ -42,6 +42,12 @@ enum message_id {
COMMON_MESSAGE = 0xF0,
};
+enum GIsiPhonetDevice {
+ PN_DEV_PC = 0x10, /* PC Suite */
+ PN_DEV_HOST = 0x00, /* Host modem */
+ PN_DEV_SOS = 0x6C, /* Symbian or Linux */
+};
+
enum GIsiMessageType {
GISI_MESSAGE_TYPE_REQ,
GISI_MESSAGE_TYPE_IND,