diff options
author | laforge <laforge@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2006-10-24 13:07:08 +0000 |
---|---|---|
committer | laforge <laforge@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2006-10-24 13:07:08 +0000 |
commit | 23dfcf4ff925f61bcb2c3bdd712ff0f70bde4fcb (patch) | |
tree | 97c62e6b7bc73cd4be3961ed2a253504381841c3 /include/gsmd/unsolicited.h | |
parent | 3c4d2776058a440bb8d406cd85783898c14b2403 (diff) |
- clean up header files (all in include/gmsd now)
- finish vendor plugin support
- add call progress indicator and signal quality unsolicited support to vendor_ti.c
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@120 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'include/gsmd/unsolicited.h')
-rw-r--r-- | include/gsmd/unsolicited.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/gsmd/unsolicited.h b/include/gsmd/unsolicited.h new file mode 100644 index 0000000..e7f17c5 --- /dev/null +++ b/include/gsmd/unsolicited.h @@ -0,0 +1,18 @@ +#ifndef __GSMD_UNSOLICITED_H +#define __GSMD_UNSOLICITED_H + +#ifdef __GSMD__ + +#include <gsmd/gsmd.h> + +struct gsmd_unsolicit { + const char *prefix; + int (*parse)(char *unsol, int len, const char *param, struct gsmd *gsmd); +}; + +extern int unsolicited_parse(struct gsmd *g, char *buf, int len, const char *param); +extern int generate_event_from_cme(struct gsmd *g, unsigned int cme_error); + +#endif /* __GSMD__ */ + +#endif |