diff options
author | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2010-01-21 03:19:47 +0000 |
---|---|---|
committer | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2010-01-21 03:19:47 +0000 |
commit | 29224b5cce3353b67784ada08165ff9259a5bee1 (patch) | |
tree | bad59af2de509f2a653e6358a4f495a6acfa8e9f /Protocols/SIP/m_sip.h | |
parent | 6622a1c224fab2c6299219b4e134a62f80880469 (diff) |
SIP: 0.1.3.0
* Fix for going online after connecting error
* Fix for reconection crash
+ Added stun server to client API
+ Added list of hosts to client API
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@214 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Protocols/SIP/m_sip.h')
-rw-r--r-- | Protocols/SIP/m_sip.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Protocols/SIP/m_sip.h b/Protocols/SIP/m_sip.h index 360912b..e31f813 100644 --- a/Protocols/SIP/m_sip.h +++ b/Protocols/SIP/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
|