mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
linphonecore: add linphone_configuring_state_to_string API
This commit is contained in:
parent
e48f88ff27
commit
661fa76163
2 changed files with 22 additions and 0 deletions
|
|
@ -1496,6 +1496,7 @@ void linphone_configuring_terminated(LinphoneCore *lc, LinphoneConfiguringState
|
|||
linphone_core_start(lc);
|
||||
}
|
||||
|
||||
|
||||
static int linphone_core_serialization_ref = 0;
|
||||
|
||||
static void linphone_core_activate_log_serialization_if_needed(void) {
|
||||
|
|
@ -6460,6 +6461,21 @@ LinphonePayloadType* linphone_core_find_payload_type(LinphoneCore* lc, const cha
|
|||
return NULL;
|
||||
}
|
||||
|
||||
const char* linphone_configuring_state_to_string(LinphoneConfiguringState cs){
|
||||
switch(cs){
|
||||
case LinphoneConfiguringSuccessful:
|
||||
return "LinphoneConfiguringSuccessful";
|
||||
break;
|
||||
case LinphoneConfiguringFailed:
|
||||
return "LinphoneConfiguringFailed";
|
||||
break;
|
||||
case LinphoneConfiguringSkipped:
|
||||
return "LinphoneConfiguringSkipped";
|
||||
break;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
const char *linphone_global_state_to_string(LinphoneGlobalState gs){
|
||||
switch(gs){
|
||||
case LinphoneGlobalOff:
|
||||
|
|
|
|||
|
|
@ -2141,6 +2141,12 @@ typedef enum _LinphoneConfiguringState {
|
|||
LinphoneConfiguringSkipped
|
||||
} LinphoneConfiguringState;
|
||||
|
||||
/**
|
||||
* Converts a _LinphoneConfiguringState enum to a string.
|
||||
* @ingroup misc
|
||||
**/
|
||||
LINPHONE_PUBLIC const char *linphone_configuring_state_to_string(LinphoneConfiguringState cs);
|
||||
|
||||
/**
|
||||
* Callback prototype for configuring status changes notification
|
||||
* @param lc the LinphoneCore
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue