summaryrefslogtreecommitdiff
path: root/pjsip/include
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2012-04-26 16:46:27 +0000
committerNanang Izzuddin <nanang@teluu.com>2012-04-26 16:46:27 +0000
commit8578591bbf5084687f2f60289d2f1445e341dd7e (patch)
tree457056f132b1bc70ea385c45ed3194612fd6604a /pjsip/include
parent89b6fc1d3eefbb59919af2e28f914d7e11c5794e (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')
-rw-r--r--pjsip/include/pjsua-lib/pjsua_internal.h18
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;
};