From a04e6effed0b81ec7495df2a1448484645b20cc5 Mon Sep 17 00:00:00 2001 From: laforge Date: Fri, 12 Jan 2007 23:57:33 +0000 Subject: - use talloc (of samba project) to debug memory allocations and simplify code - introduce new ucmd_alloc() function - add DTMF support to gsmd, libgsmd and gsmd-util - fix crash of libgsmd when events don't have handlers registered - implement call progress for TI modem - split modem init string in separate commands to fit our parser git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@544 99fdad57-331a-0410-800a-d7fa5415bdb3 --- include/gsmd/gsmd.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/gsmd/gsmd.h') diff --git a/include/gsmd/gsmd.h b/include/gsmd/gsmd.h index 9b99a15..22058b2 100644 --- a/include/gsmd/gsmd.h +++ b/include/gsmd/gsmd.h @@ -10,6 +10,8 @@ #include #include +void *gsmd_tallocs; + /* Refer to 3GPP TS 07.07 v 7.8.0, Chapter 4.1 */ #define LGSM_ATCMD_F_EXTENDED 0x01 /* as opposed to basic */ #define LGSM_ATCMD_F_PARAM 0x02 /* as opposed to action */ @@ -87,6 +89,8 @@ void __gsmd_log(int level, const char *file, int line, const char *function, con #define DEBUGP(x, args ...) gsmd_log(GSMD_DEBUG, x, ## args) +extern int gsmd_simplecmd(struct gsmd *gsmd, char *cmdtxt); + #endif /* __GSMD__ */ #endif /* _GSMD_H */ -- cgit v1.2.3