mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Update stun to latest RFC.
Start TURN & ICE extensions. Keep most old STUN capabilities. Start changing/adding API for STUN/TURN git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@230 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
9e1fe35733
commit
f2c7c36574
2 changed files with 4 additions and 4 deletions
|
|
@ -462,10 +462,10 @@ stunGetSystemTimeSecs(void);
|
|||
|
||||
/* find the IP address of a the specified stun server - return false is fails parse */
|
||||
bool_t
|
||||
stunParseServerName( char* serverName, StunAddress4 *stunServerAddr);
|
||||
stunParseServerName( const char* serverName, StunAddress4 *stunServerAddr);
|
||||
|
||||
bool_t
|
||||
stunParseHostName( char* peerName,
|
||||
stunParseHostName( const char* peerName,
|
||||
UInt32 *ip,
|
||||
UInt16 *portVal,
|
||||
UInt16 defaultPort );
|
||||
|
|
|
|||
|
|
@ -1241,7 +1241,7 @@ stunGetSystemTimeSecs(void)
|
|||
|
||||
/* returns TRUE if it scucceeded */
|
||||
bool_t
|
||||
stunParseHostName( char* peerName,
|
||||
stunParseHostName( const char* peerName,
|
||||
UInt32* ip,
|
||||
UInt16* portVal,
|
||||
UInt16 defaultPort )
|
||||
|
|
@ -1347,7 +1347,7 @@ stunParseHostName( char* peerName,
|
|||
|
||||
|
||||
bool_t
|
||||
stunParseServerName( char* name, StunAddress4 *addr)
|
||||
stunParseServerName( const char* name, StunAddress4 *addr)
|
||||
{
|
||||
/* assert(name); */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue