diff options
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 |