From b76591c41ea9e0bdb19a79ef873760a2932d6245 Mon Sep 17 00:00:00 2001 From: laforge Date: Thu, 8 Mar 2007 21:51:11 +0000 Subject: 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 --- include/gsmd/state.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 include/gsmd/state.h (limited to 'include/gsmd/state.h') 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 */ -- cgit v1.2.3