mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-21 13:08:08 +00:00
fix build issue in ms2
This commit is contained in:
parent
fb54b4790b
commit
f72ac202cf
2 changed files with 14 additions and 1 deletions
|
|
@ -488,6 +488,19 @@ void sal_uninit(Sal* sal){
|
|||
ms_free(sal);
|
||||
};
|
||||
|
||||
int sal_transport_available(Sal *sal, SalTransport t){
|
||||
switch(t){
|
||||
case SalTransportUDP:
|
||||
case SalTransportTCP:
|
||||
return TRUE;
|
||||
case SalTransportTLS:
|
||||
return belle_sip_stack_tls_available(sal->stack);
|
||||
case SalTransportDTLS:
|
||||
return FALSE;
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
int sal_add_listen_port(Sal *ctx, SalAddress* addr){
|
||||
int result;
|
||||
belle_sip_listening_point_t* lp = belle_sip_stack_create_listening_point(ctx->stack
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit b2dc80f2de024dc8a40fc92043e63f4e4f0669aa
|
||||
Subproject commit 75514ad53cdda45632d35a474a2810e78b19997e
|
||||
Loading…
Add table
Reference in a new issue