diff options
author | erin_yueh <erin_yueh@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2008-01-10 05:14:53 +0000 |
---|---|---|
committer | erin_yueh <erin_yueh@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2008-01-10 05:14:53 +0000 |
commit | fbc0b497567fecd2818f4a497843f62d1be6d70c (patch) | |
tree | a08697bc3dcd3dbe25df196c19c788aa8bb8a6c5 /include/gsmd/unsolicited.h | |
parent | 9567f52dbf14097d8e19d0d858594d971aa725ec (diff) |
gsmd: eliminate gcc warnings (Erin Yueh)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3807 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'include/gsmd/unsolicited.h')
-rw-r--r-- | include/gsmd/unsolicited.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/gsmd/unsolicited.h b/include/gsmd/unsolicited.h index fa0ee32..49bdcde 100644 --- a/include/gsmd/unsolicited.h +++ b/include/gsmd/unsolicited.h @@ -7,14 +7,18 @@ struct gsmd_unsolicit { const char *prefix; - int (*parse)(char *unsol, int len, const char *param, struct gsmd *gsmd); + int (*parse)(const 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 void unsolicited_init(struct gsmd *g); +extern int unsolicited_parse(struct gsmd *g, + const char *buf, int len, const char *param); extern int generate_event_from_cme(struct gsmd *g, unsigned int cme_error); extern void unsolicited_generic_init(struct gsmd *g); extern int unsolicited_register_array(const struct gsmd_unsolicit *arr, int len); +extern int generate_event_from_cms(struct gsmd *g, unsigned int cms_error); extern const int pintype_from_cme[]; #endif /* __GSMD__ */ |