summaryrefslogtreecommitdiff
path: root/pjsip/include
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2007-10-30 15:42:35 +0000
committerBenny Prijono <bennylp@teluu.com>2007-10-30 15:42:35 +0000
commitc9d49b32bb68ff6a4d2c0ba6be071b888ec8e125 (patch)
treedef288fe49ecc2f23ec9235e18362c5b4abb1641 /pjsip/include
parent28dcd7352fca0776867edbf2a7c02dbf15d76cbe (diff)
Added pjsua_get_var() to access pjsua_var from a DLL (thanks Tomas Valenta)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1529 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include')
-rw-r--r--pjsip/include/pjsua-lib/pjsua_internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua_internal.h b/pjsip/include/pjsua-lib/pjsua_internal.h
index 53a978f4..530dc89d 100644
--- a/pjsip/include/pjsua-lib/pjsua_internal.h
+++ b/pjsip/include/pjsua-lib/pjsua_internal.h
@@ -242,6 +242,12 @@ struct pjsua_data
extern struct pjsua_data pjsua_var;
+/**
+ * Get the instance of pjsua
+ */
+PJ_DECL(struct pjsua_data*) pjsua_get_var(void);
+
+
/**
* IM callback data.