diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2012-04-26 16:46:27 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2012-04-26 16:46:27 +0000 |
commit | 8578591bbf5084687f2f60289d2f1445e341dd7e (patch) | |
tree | 457056f132b1bc70ea385c45ed3194612fd6604a /pjsip/include/pjsua-lib/pjsua_internal.h | |
parent | 89b6fc1d3eefbb59919af2e28f914d7e11c5794e (diff) |
Misc (re #1446): Fixed compile errors on Symbian S60 5th Ed SDK: unrecognized a struct defined inside another struct and 64 bit integer constants suffix.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4099 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsua-lib/pjsua_internal.h')
-rw-r--r-- | pjsip/include/pjsua-lib/pjsua_internal.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua_internal.h b/pjsip/include/pjsua-lib/pjsua_internal.h index 61007d8a..ac4ab31f 100644 --- a/pjsip/include/pjsua-lib/pjsua_internal.h +++ b/pjsip/include/pjsua-lib/pjsua_internal.h @@ -361,6 +361,16 @@ typedef struct pjsua_vid_win pj_bool_t is_native; /**< Preview is by dev */ } pjsua_vid_win; + +typedef struct pjsua_timer_list +{ + PJ_DECL_LIST_MEMBER(struct pjsua_timer_list); + pj_timer_entry entry; + void (*cb)(void *user_data); + void *user_data; +} pjsua_timer_list; + + /** * Global pjsua application data. */ @@ -463,13 +473,7 @@ struct pjsua_data #endif /* Timer entry list */ - struct timer_list - { - PJ_DECL_LIST_MEMBER(struct timer_list); - pj_timer_entry entry; - void (*cb)(void *user_data); - void *user_data; - } timer_list; + pjsua_timer_list timer_list; pj_mutex_t *timer_mutex; }; |