Update VS projects settings

Startup http stack to register the proxy plugin when the wrapped SIP stack is initialized
This commit is contained in:
bossiel 2015-06-20 18:55:06 +00:00
parent e4b2b69a79
commit 740b5a2931
4 changed files with 38 additions and 0 deletions

View File

@ -439,6 +439,10 @@ bool SipStack::initialize()
TSK_DEBUG_ERROR("tnet_startup failed with error code=%d", ret);
return false;
}
if((ret = thttp_startup())){
TSK_DEBUG_ERROR("thttp_startup failed with error code=%d", ret);
return false;
}
if((ret = tdav_init())){
TSK_DEBUG_ERROR("tdav_init failed with error code=%d", ret);
return false;
@ -452,6 +456,7 @@ bool SipStack::deInitialize()
{
if (SipStack::g_bInitialized) {
tdav_deinit();
thttp_cleanup();
tnet_cleanup();
SipStack::g_bInitialized = false;
}

View File

@ -29,6 +29,7 @@
#include "tinydav/tdav.h"
#include "tinysip.h"
#include "tinyhttp.h"
class DDebugCallback;

View File

@ -197,6 +197,10 @@
RelativePath=".\src\thttp_message.c"
>
</File>
<File
RelativePath=".\src\thttp_proxy_node_plugin.c"
>
</File>
<File
RelativePath=".\src\thttp_session.c"
>
@ -309,6 +313,10 @@
RelativePath=".\include\tinyHTTP\thttp_message.h"
>
</File>
<File
RelativePath=".\include\tinyhttp\thttp_proxy_node_plugin.h"
>
</File>
<File
RelativePath=".\include\tinyHTTP\thttp_session.h"
>

View File

@ -197,6 +197,18 @@
RelativePath=".\src\tnet_poll.c"
>
</File>
<File
RelativePath=".\src\tnet_proxy_node_socks_plugin.c"
>
</File>
<File
RelativePath=".\src\tnet_proxy_plugin.c"
>
</File>
<File
RelativePath=".\src\tnet_proxydetect.c"
>
</File>
<File
RelativePath=".\src\tnet_socket.c"
>
@ -461,6 +473,18 @@
RelativePath=".\src\tnet_proto.h"
>
</File>
<File
RelativePath=".\src\tnet_proxy_node_socks_plugin.h"
>
</File>
<File
RelativePath=".\src\tnet_proxy_plugin.h"
>
</File>
<File
RelativePath=".\src\tnet_proxydetect.h"
>
</File>
<File
RelativePath=".\src\tnet_socket.h"
>