diff options
author | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2010-01-18 01:07:16 +0000 |
---|---|---|
committer | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2010-01-18 01:07:16 +0000 |
commit | 6342ef9ae683c0080abd3d8fdb46d2a36c594063 (patch) | |
tree | 176a6f5bae5cc9f447bb187575ed56161f86218a /Protocols/SIP/SIPClient.h | |
parent | a36ca1b4d5d0c89b09382ac4215681b47865bea1 (diff) |
sip: Client API
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@211 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Protocols/SIP/SIPClient.h')
-rw-r--r-- | Protocols/SIP/SIPClient.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Protocols/SIP/SIPClient.h b/Protocols/SIP/SIPClient.h index 275d032..1af9cb6 100644 --- a/Protocols/SIP/SIPClient.h +++ b/Protocols/SIP/SIPClient.h @@ -42,7 +42,6 @@ public: void *callback_param;
char name[512];
- TCHAR username[16];
TCHAR host[256];
CRITICAL_SECTION cs;
@@ -56,7 +55,7 @@ public: bool on_call_media_state_sync(pjsua_call_id call_id, const pjsua_call_info &info);
void on_call_media_state(pjsua_call_id call_id);
- pjsua_call_id Call(const TCHAR *username, const TCHAR *host, int port, int protocol);
+ pjsua_call_id Call(const TCHAR *host, int port, int protocol);
int DropCall(pjsua_call_id call_id);
int HoldCall(pjsua_call_id call_id);
int AnswerCall(pjsua_call_id call_id);
@@ -75,10 +74,10 @@ private: void RegisterTransport(pjsip_transport_type_e type, int port, ta *ta);
void ConfigureDevices();
- void BuildURI(TCHAR *out, int outSize, const TCHAR *user, const TCHAR *host, int port, int protocol);
+ void BuildURI(TCHAR *out, int outSize, const TCHAR *host, int port, int protocol);
void CleanupURI(TCHAR *out, int outSize, const TCHAR *url);
- void NotifyCall(pjsua_call_id call_id, int state, const TCHAR *name = NULL, const TCHAR *uri = NULL);
+ void NotifyCall(pjsua_call_id call_id, int state, const TCHAR *host_port = NULL);
};
|