diff options
author | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2010-01-21 02:53:26 +0000 |
---|---|---|
committer | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2010-01-21 02:53:26 +0000 |
commit | 6622a1c224fab2c6299219b4e134a62f80880469 (patch) | |
tree | e38c7ce588fe2aaeb41d82b0886d12982a0289ab /Plugins/sip_cli/sdk/m_sip.h | |
parent | 9550f6403b68d8aa948675a2c2c874c0356643df (diff) |
sip_cli: update to sip client api
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@213 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Plugins/sip_cli/sdk/m_sip.h')
-rw-r--r-- | Plugins/sip_cli/sdk/m_sip.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Plugins/sip_cli/sdk/m_sip.h b/Plugins/sip_cli/sdk/m_sip.h index 360912b..e31f813 100644 --- a/Plugins/sip_cli/sdk/m_sip.h +++ b/Plugins/sip_cli/sdk/m_sip.h @@ -35,6 +35,11 @@ struct SIP_REGISTRATION int tcp_port; // UDP port to be used: 0 means TCP, -1 means don't want TCP
int tls_port; // UDP port to be used: 0 means TLS, -1 means don't want TLS
+ struct {
+ const TCHAR *host;
+ int port;
+ } stun;
+
HANDLE hNetlib; // To be used for logs. Can be 0
SIPClientCallback callback;
@@ -45,9 +50,11 @@ struct SIP_REGISTRATION struct SIP_CLIENT
{
void *data; // Do not touch
- const TCHAR *host;
+ const TCHAR *udp_host;
const int udp_port;
+ const TCHAR *tcp_host;
const int tcp_port;
+ const TCHAR *tls_host;
const int tls_port;
// @param protocol 1 UDP, 2 TCP, 3 TLS
|