mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
fix compilation issue
This commit is contained in:
parent
1bf1ee2aba
commit
e0256b1f7a
3 changed files with 5 additions and 5 deletions
|
|
@ -22,7 +22,7 @@
|
|||
<folderInfo id="0.2079208171." name="/" resourcePath="">
|
||||
<toolChain id="org.eclipse.cdt.build.core.prefbase.toolchain.2084203071" name="No ToolChain" resourceTypeBasedDiscovery="false" superClass="org.eclipse.cdt.build.core.prefbase.toolchain">
|
||||
<targetPlatform binaryParser="org.eclipse.cdt.core.MachO64;org.eclipse.cdt.core.ELF" id="org.eclipse.cdt.build.core.prefbase.toolchain.2084203071.81924294" name=""/>
|
||||
<builder arguments="-j4 CFLAGS="-g -Werror -Wall" CXXFLAGS="-g"" command="make" id="org.eclipse.cdt.build.core.settings.default.builder.731584538" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
|
||||
<builder arguments="-j4 CFLAGS="-g -Wall" CXXFLAGS="-g"" command="make" id="org.eclipse.cdt.build.core.settings.default.builder.731584538" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
|
||||
<tool id="org.eclipse.cdt.build.core.settings.holder.libs.1252970003" name="holder for library settings" superClass="org.eclipse.cdt.build.core.settings.holder.libs"/>
|
||||
<tool id="org.eclipse.cdt.build.core.settings.holder.1371414073" name="GNU C++" superClass="org.eclipse.cdt.build.core.settings.holder">
|
||||
<inputType id="org.eclipse.cdt.build.core.settings.holder.inType.306286573" languageId="org.eclipse.cdt.core.g++" languageName="GNU C++" sourceContentType="org.eclipse.cdt.core.cxxSource,org.eclipse.cdt.core.cxxHeader" superClass="org.eclipse.cdt.build.core.settings.holder.inType"/>
|
||||
|
|
|
|||
|
|
@ -705,7 +705,7 @@ SalAuthInfo* sal_auth_info_create(belle_sip_auth_event_t* event) {
|
|||
auth_info->realm = ms_strdup(belle_sip_auth_event_get_realm(event));
|
||||
auth_info->username = ms_strdup(belle_sip_auth_event_get_username(event));
|
||||
auth_info->domain = ms_strdup(belle_sip_auth_event_get_domain(event));
|
||||
auth_info->mode = belle_sip_auth_event_get_mode(event);
|
||||
auth_info->mode = (SalAuthMode)belle_sip_auth_event_get_mode(event);
|
||||
return auth_info;
|
||||
}
|
||||
|
||||
|
|
@ -877,7 +877,7 @@ void sal_enable_unconditional_answer(Sal *sal,int value) {
|
|||
* @param format either PEM or DER
|
||||
*/
|
||||
void sal_certificates_chain_parse_file(SalAuthInfo* auth_info, const char* path, SalCertificateRawFormat format) {
|
||||
auth_info->certificates = (SalCertificatesChain*) belle_sip_certificates_chain_parse_file(path, format); //
|
||||
auth_info->certificates = (SalCertificatesChain*) belle_sip_certificates_chain_parse_file(path, (belle_sip_certificate_raw_format_t)format); //
|
||||
if (auth_info->certificates) belle_sip_object_ref((belle_sip_object_t *) auth_info->certificates);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -334,7 +334,7 @@ typedef enum SalTextDeliveryStatus{
|
|||
/**
|
||||
* auth event mode
|
||||
* */
|
||||
typedef enum SalAuthMode {
|
||||
typedef enum SalAuthMode { /*this enum must be same as belle_sip_auth_mode_t*/
|
||||
SalAuthModeHttpDigest, /** Digest authentication requested*/
|
||||
SalAuthModeTls /** Client certificate requested*/
|
||||
}SalAuthMode;
|
||||
|
|
@ -347,7 +347,7 @@ typedef struct _SalSigningKey SalSigningKey;
|
|||
/**
|
||||
* Format of certificate buffer
|
||||
* */
|
||||
typedef enum SalCertificateRawFormat {
|
||||
typedef enum SalCertificateRawFormat {/*this enum must be same as belle_sip_certificate_raw_format_t*/
|
||||
SAL_CERTIFICATE_RAW_FORMAT_PEM, /** PEM format*/
|
||||
SAL_CERTIFICATE_RAW_FORMAT_DER /** ASN.1 raw format*/
|
||||
}SalCertificateRawFormat;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue