From 7fda58922167e78d1db5af3da6fbdacbb7f3790f Mon Sep 17 00:00:00 2001 From: laforge Date: Wed, 28 Feb 2007 11:55:34 +0000 Subject: revert 'bug108' patch from tony guan. git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@1161 99fdad57-331a-0410-800a-d7fa5415bdb3 --- include/libgsmd/misc.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'include') diff --git a/include/libgsmd/misc.h b/include/libgsmd/misc.h index c919d72..95e219d 100644 --- a/include/libgsmd/misc.h +++ b/include/libgsmd/misc.h @@ -1,5 +1,5 @@ -#ifndef _MISC_LIBGSMD_H -#define _MISC_LIBGSMD_H +#ifndef _LIBGSMD_H +#define _LIBGSMD_H /* libgsmd.h - Library API for gsmd, the GSM Daemon * (C) 2006 by Harald Welte @@ -25,19 +25,19 @@ extern int lgsm_get_netreg_state(struct lgsm_handle *lh, extern int lgsm_netreg_register(struct lgsm_handle *lh, int oper); -typedef enum _lgsm_info_type { +enum lgsm_info_type { LGSM_INFO_TYPE_NONE = 0, LGSM_INFO_TYPE_MANUF = 1, LGSM_INFO_TYPE_MODEL = 2, LGSM_INFO_TYPE_REVISION = 3, LGSM_INFO_TYPE_SERIAL = 4, LGSM_INFO_TYPE_IMSI = 5, -}lgsm_info_type; +}; /* Get some information about the handset */ extern int lgsm_get_info(struct lgsm_handle *lh, - lgsm_info_type type, - char *ret_string, unsigned int* len); + enum lgsm_info_type type, + char *ret_string, u_int16_t len); /* Authenticate to SIM Card using specified null-terminated pin */ extern int lgsm_pin_auth(struct lgsm_handle *lh, const char *pin); -- cgit v1.2.3