diff options
author | laforge <laforge@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2006-10-20 20:41:12 +0000 |
---|---|---|
committer | laforge <laforge@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2006-10-20 20:41:12 +0000 |
commit | 8045fdfb09c2e3b466f371b2ab64ff01f9f7aec1 (patch) | |
tree | 270a3b123e7d4de7cb55da08e6cf6eb39461777e /include/libgsmd | |
parent | 561a8d7fa4a003862b2640bd3458c0188ae2eab8 (diff) |
- 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
Diffstat (limited to 'include/libgsmd')
-rw-r--r-- | include/libgsmd/Makefile.am | 2 | ||||
-rw-r--r-- | include/libgsmd/libgsmd.h | 8 |
2 files changed, 7 insertions, 3 deletions
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 |