From 6622a1c224fab2c6299219b4e134a62f80880469 Mon Sep 17 00:00:00 2001 From: pescuma Date: Thu, 21 Jan 2010 02:53:26 +0000 Subject: sip_cli: update to sip client api git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@213 c086bb3d-8645-0410-b8da-73a8550f86e7 --- Plugins/sip_cli/sdk/m_sip.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Plugins/sip_cli/sdk') 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 -- cgit v1.2.3