From d88e15979081740b86f48a78c81df56f5122a2c4 Mon Sep 17 00:00:00 2001 From: tick Date: Sat, 1 Dec 2007 01:55:39 +0000 Subject: 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 --- include/gsmd/unsolicited.h | 1 + include/libgsmd/pin.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'include') 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 -- cgit v1.2.3