diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-02-07 21:13:28 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-02-07 21:13:28 +0000 |
commit | 0b4ee7092fc7ef0c8e617a7b6066f84b7c039301 (patch) | |
tree | 077483dea5667d444498ab4efa6077ad1be9b289 /pjsip/src/pjsua/pjsua.h | |
parent | eab36ad92eda60b3511636894457fb77ddaa2537 (diff) |
Renamed pjsua.c to pjsua_core.c since it is causing link problems with gcc
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@147 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/pjsua/pjsua.h')
-rw-r--r-- | pjsip/src/pjsua/pjsua.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pjsip/src/pjsua/pjsua.h b/pjsip/src/pjsua/pjsua.h index 30f61f61..53b46e58 100644 --- a/pjsip/src/pjsua/pjsua.h +++ b/pjsip/src/pjsua/pjsua.h @@ -35,8 +35,10 @@ #include <pjlib.h> +PJ_BEGIN_DECL + /* PJSUA application variables. */ -extern struct pjsua_t +struct pjsua_t { /* Control: */ @@ -109,8 +111,9 @@ extern struct pjsua_t unsigned log_decor; /**< Log decoration. */ char *log_filename; /**< Log filename. */ -} pjsua; +}; +extern struct pjsua_t pjsua; /***************************************************************************** * PJSUA API. @@ -193,4 +196,6 @@ void pjsua_regc_update(pj_bool_t renew); void pjsua_ui_inv_on_state_changed(pjsip_inv_session *inv, pjsip_event *e); +PJ_END_DECL + #endif /* __PJSUA_H__ */ |