summaryrefslogtreecommitdiff
path: root/include/gsmd/state.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gsmd/state.h')
-rw-r--r--include/gsmd/state.h23
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 */
personal git repositories of Harald Welte. Your mileage may vary