mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-05 20:01:55 +00:00
move stun to the core
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1038 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -304,10 +304,6 @@
|
||||
RelativePath=".\src\libdingaling.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\src\stun_parser.c"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Header Files"
|
||||
@@ -322,10 +318,6 @@
|
||||
RelativePath=".\src\libdingaling.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\src\stun_parser.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Resource Files"
|
||||
|
||||
@@ -1,12 +1,4 @@
|
||||
EXPORTS
|
||||
stun_random_string
|
||||
stun_packet_parse
|
||||
stun_value_to_name
|
||||
stun_packet_attribute_get_mapped_address
|
||||
stun_packet_attribute_get_username
|
||||
stun_packet_build_header
|
||||
stun_packet_attribute_add_username
|
||||
stun_packet_attribute_add_binded_address
|
||||
ldl_session_get_caller
|
||||
ldl_session_get_ip
|
||||
ldl_session_set_private
|
||||
|
||||
@@ -143,7 +143,7 @@ SWITCH_DECLARE(switch_stun_packet_t *)switch_stun_packet_parse(uint8_t *buf, uin
|
||||
\param value the value to look up
|
||||
\return a sring version of value
|
||||
*/
|
||||
SWITCH_DECLARE(const char *)switch_stun_value_to_name(int32_t type, int32_t value);
|
||||
SWITCH_DECLARE(const char *)switch_stun_value_to_name(int32_t type, uint32_t value);
|
||||
|
||||
|
||||
/*!
|
||||
|
||||
+2
-2
@@ -141,7 +141,7 @@ SWITCH_DECLARE(switch_stun_packet_t *)switch_stun_packet_parse(uint8_t *buf, uin
|
||||
return packet;
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(const char *)switch_stun_value_to_name(int32_t type, int32_t value)
|
||||
SWITCH_DECLARE(const char *)switch_stun_value_to_name(int32_t type, uint32_t value)
|
||||
|
||||
{
|
||||
uint32_t x = 0;
|
||||
@@ -235,7 +235,7 @@ SWITCH_DECLARE(uint8_t) switch_stun_packet_attribute_add_binded_address(switch_s
|
||||
i = (uint8_t *) &ip->address;
|
||||
|
||||
for(x = 0; x < 4 ; x++) {
|
||||
i[x] = atoi(p);
|
||||
i[x] = (uint8_t)atoi(p);
|
||||
if ((p = strchr(p, '.'))) {
|
||||
p++;
|
||||
} else {
|
||||
|
||||
@@ -239,6 +239,10 @@
|
||||
RelativePath="..\..\src\switch_rtp.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\switch_stun.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\switch_utils.c"
|
||||
>
|
||||
@@ -317,6 +321,10 @@
|
||||
RelativePath="..\..\src\include\switch_sqlite.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\include\switch_stun.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\include\switch_types.h"
|
||||
>
|
||||
|
||||
@@ -178,7 +178,6 @@ End If
|
||||
|
||||
If BuildModDingaling Then
|
||||
BuildLibs_iksemel BuildDebug, BuildRelease
|
||||
BuildLibs_jrtplib BuildDebug, BuildRelease
|
||||
End If
|
||||
|
||||
If BuildModIaxChan Then
|
||||
|
||||
Reference in New Issue
Block a user