diff options
author | laforge <laforge@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-03-08 21:51:11 +0000 |
---|---|---|
committer | laforge <laforge@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-03-08 21:51:11 +0000 |
commit | b76591c41ea9e0bdb19a79ef873760a2932d6245 (patch) | |
tree | 5760394d5dc0023a9bbf11eb309daa5388315867 /include/gsmd/state.h | |
parent | aefa11c79415e696c41378ab7681dabbc28f0a7d (diff) |
this was supposed to be part of the last commit (1281)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@1282 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'include/gsmd/state.h')
-rw-r--r-- | include/gsmd/state.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/gsmd/state.h b/include/gsmd/state.h new file mode 100644 index 0000000..62cd710 --- /dev/null +++ b/include/gsmd/state.h @@ -0,0 +1,23 @@ +#ifndef _GSMD_STATE_H +#define _GSMD_STATE_H + +#ifdef __GSMD__ + +#define GSMD_CIPHIND_CAPABLE 0x01 +#define GSMD_CIPHIND_DISABLED_SIM 0x02 +#define GSMD_CIPHIND_ACTIVE 0x04 + +struct gsmd_device_state { + struct { + unsigned int flags; + unsigned int network_state_gsm; + unsigned int network_state_gprs; + } ciph_ind; + + unsigned int on; + unsigned int registered; +}; + +#endif /* __GSMD__ */ + +#endif /* _GSMD_STATE_H */ |