diff options
author | tick <tick@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-12-01 01:55:39 +0000 |
---|---|---|
committer | tick <tick@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-12-01 01:55:39 +0000 |
commit | d88e15979081740b86f48a78c81df56f5122a2c4 (patch) | |
tree | 1fb1484659cb51743726501c46d0e55edfefcc79 /include | |
parent | f07e7027fe91ac71a8ab760f863c3a05a1d1499d (diff) |
gsmd: Submitting a PIN for authentication needs to respond with status too.(Andrzej Zaborowski)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3545 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'include')
-rw-r--r-- | include/gsmd/unsolicited.h | 1 | ||||
-rw-r--r-- | include/libgsmd/pin.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/gsmd/unsolicited.h b/include/gsmd/unsolicited.h index 544c1ce..fa0ee32 100644 --- a/include/gsmd/unsolicited.h +++ b/include/gsmd/unsolicited.h @@ -15,6 +15,7 @@ extern int generate_event_from_cme(struct gsmd *g, unsigned int cme_error); extern void unsolicited_generic_init(struct gsmd *g); extern int unsolicited_register_array(const struct gsmd_unsolicit *arr, int len); +extern const int pintype_from_cme[]; #endif /* __GSMD__ */ diff --git a/include/libgsmd/pin.h b/include/libgsmd/pin.h index 304455f..d125e40 100644 --- a/include/libgsmd/pin.h +++ b/include/libgsmd/pin.h @@ -3,6 +3,7 @@ extern const char *lgsm_pin_name(enum gsmd_pin_type ptype); -extern int lgsm_pin(struct lgsm_handle *lh, unsigned int type, char *pin, char *newpin); +extern int lgsm_pin(struct lgsm_handle *lh, unsigned int type, + const char *pin, const char *newpin); #endif |