diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-05-12 15:03:23 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-05-12 15:03:23 +0000 |
commit | fd5aade84080ce74df1622958ea2c56c3e827703 (patch) | |
tree | ba9d237790fd514955f4e716afc162b7d7091d31 /pjlib/include/pj/errno.h | |
parent | 3727cae28c3f725ff6f909955718523737a597fa (diff) |
Symbian fixes to compile on GCCE (nested callbacks etc)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1269 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj/errno.h')
-rw-r--r-- | pjlib/include/pj/errno.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pjlib/include/pj/errno.h b/pjlib/include/pj/errno.h index cd5d9164..df6c1b02 100644 --- a/pjlib/include/pj/errno.h +++ b/pjlib/include/pj/errno.h @@ -111,6 +111,7 @@ PJ_DECL(void) pj_set_netos_error(pj_status_t code); PJ_DECL(pj_str_t) pj_strerror( pj_status_t statcode, char *buf, pj_size_t bufsize); +typedef pj_str_t (*pjsip_error_callback)(pj_status_t, char*, pj_size_t); /** * Register strerror message handler for the specified error space. * Application can register its own handler to supply the error message @@ -132,8 +133,7 @@ PJ_DECL(pj_str_t) pj_strerror( pj_status_t statcode, */ PJ_DECL(pj_status_t) pj_register_strerror(pj_status_t start_code, pj_status_t err_space, - pj_str_t (*f)(pj_status_t,char*, - pj_size_t)); + pjsip_error_callback f); /** * @hideinitializer |