summaryrefslogtreecommitdiff
path: root/include/gsmd
diff options
context:
space:
mode:
authorlaforge <laforge@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-03-10 02:22:04 +0000
committerlaforge <laforge@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-03-10 02:22:04 +0000
commit2797211645d452446cb7b329ee9d3d3a923f8520 (patch)
tree5f8dc89cc720f7ea3ce0d6c2b31489addb37c3b8 /include/gsmd
parenta831d70619f614254692b75c1aca39f21c15fb55 (diff)
* properly implement PIN/PUK handling throughout gsmd/libgsmd/util
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@1314 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'include/gsmd')
-rw-r--r--include/gsmd/usock.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/gsmd/usock.h b/include/gsmd/usock.h
index 530eed7..cb5e0b9 100644
--- a/include/gsmd/usock.h
+++ b/include/gsmd/usock.h
@@ -86,6 +86,13 @@ struct gsmd_voicemail {
struct gsmd_addr addr;
} __attribute__ ((packed));
+#define GSMD_PIN_MAXLEN 8
+struct gsmd_pin {
+ enum gsmd_pin_type type;
+ char pin[GSMD_PIN_MAXLEN+1];
+ char newpin[GSMD_PIN_MAXLEN+1];
+} __attribute__ ((packed));
+
struct gsmd_evt_auxdata {
union {
struct {
personal git repositories of Harald Welte. Your mileage may vary