From 8045fdfb09c2e3b466f371b2ab64ff01f9f7aec1 Mon Sep 17 00:00:00 2001 From: laforge Date: Fri, 20 Oct 2006 20:41:12 +0000 Subject: - some more gsmd / libgsmd code - use autotools for build process git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@94 99fdad57-331a-0410-800a-d7fa5415bdb3 --- include/libgsmd/Makefile.am | 2 ++ include/libgsmd/libgsmd.h | 8 +++++--- 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 include/libgsmd/Makefile.am (limited to 'include/libgsmd') diff --git a/include/libgsmd/Makefile.am b/include/libgsmd/Makefile.am new file mode 100644 index 0000000..7e7bb6b --- /dev/null +++ b/include/libgsmd/Makefile.am @@ -0,0 +1,2 @@ + +pkginclude_HEADERS = event.h handset.h libgsmd.h misc.h phonebook.h voicecall.h diff --git a/include/libgsmd/libgsmd.h b/include/libgsmd/libgsmd.h index 7673a68..d141361 100644 --- a/include/libgsmd/libgsmd.h +++ b/include/libgsmd/libgsmd.h @@ -28,8 +28,10 @@ /* Opaque data structure, content only known to libgsm implementation */ struct lgsm_handle; +#define LGSMD_DEVICE_GSMD "gsmd" + /* initialize usage of libgsmd, obtain handle for othe API calls */ -extern struct lgsm_handle *lgsm_init(void); +extern struct lgsm_handle *lgsm_init(const char *device); /* Terminate usage of libgsmd */ extern int lgsm_exit(struct lgsm_handle *lh); @@ -40,8 +42,8 @@ extern int lgsm_fd(struct lgsm_handle *lh); /* Refer to GSM 04.08 [8] subclause 10.5.4.7 */ enum lgsm_addr_type { LGSM_ATYPE_ISDN_UNKN = 161, - LGSM_ATYPE_ISDN_INTL = , - LGSM_ATYPE_ISDN_NATIONAL = , + //LGSM_ATYPE_ISDN_INTL = , + //LGSM_ATYPE_ISDN_NATIONAL = , }; #define LGSM_ADDR_MAXLEN 31 -- cgit v1.2.3