Liblinphone
5.3.0
|
Miscenalleous: logs, version strings, config storage. More...
Macros | |
#define | LINPHONE_CONFIG(obj) BELLE_SIP_CAST(obj, LinphoneConfig); |
Safely downcast a belle_sip_object into LinphoneConfig. | |
#define | lp_config_section_to_dict linphone_config_section_to_dict |
#define | lp_config_load_dict_to_section linphone_config_load_dict_to_section |
Typedefs | |
typedef void(* | LinphoneCoreCbsEcCalibrationResultCb) (LinphoneCore *core, LinphoneEcCalibratorStatus status, int delay_ms) |
Function prototype used by linphone_core_cbs_set_ec_calibration_result(). More... | |
typedef void(* | LinphoneCoreCbsEcCalibrationAudioInitCb) (LinphoneCore *core) |
Function prototype used by linphone_core_cbs_set_ec_calibration_audio_init(). More... | |
typedef void(* | LinphoneCoreCbsEcCalibrationAudioUninitCb) (LinphoneCore *core) |
Function prototype used by linphone_core_cbs_set_ec_calibration_audio_uninit(). More... | |
typedef int(* | LinphoneImEncryptionEngineCbsIncomingMessageCb) (LinphoneImEncryptionEngine *engine, LinphoneChatRoom *chat_room, LinphoneChatMessage *message) |
Callback to decrypt incoming LinphoneChatMessage. More... | |
typedef int(* | LinphoneImEncryptionEngineCbsOutgoingMessageCb) (LinphoneImEncryptionEngine *engine, LinphoneChatRoom *chat_room, LinphoneChatMessage *message) |
Callback to encrypt outgoing LinphoneChatMessage. More... | |
typedef bool_t(* | LinphoneImEncryptionEngineCbsIsEncryptionEnabledForFileTransferCb) (LinphoneImEncryptionEngine *engine, LinphoneChatRoom *chat_room) |
Callback to know whether or not the engine will encrypt files before uploading them. More... | |
typedef void(* | LinphoneImEncryptionEngineCbsGenerateFileTransferKeyCb) (LinphoneImEncryptionEngine *engine, LinphoneChatRoom *chat_room, LinphoneChatMessage *message) |
Callback to generate the key used to encrypt the files before uploading them Key can be stored in the LinphoneContent object inside the LinphoneChatMessage using linphone_content_set_key. More... | |
typedef int(* | LinphoneImEncryptionEngineCbsDownloadingFileCb) (LinphoneImEncryptionEngine *engine, LinphoneChatMessage *message, size_t offset, const uint8_t *buffer, size_t size, uint8_t *decrypted_buffer) |
Callback to decrypt downloading file. More... | |
typedef int(* | LinphoneImEncryptionEngineCbsUploadingFileCb) (LinphoneImEncryptionEngine *engine, LinphoneChatMessage *message, size_t offset, const uint8_t *buffer, size_t *size, uint8_t *encrypted_buffer) |
Callback to encrypt uploading file. More... | |
typedef void(* | LinphoneXmlRpcRequestCbsResponseCb) (LinphoneXmlRpcRequest *request) |
Callback used to notify the response to an XML-RPC request. More... | |
typedef void(* | LinphoneCoreCbsChatRoomExhumedCb) (LinphoneCore *core, LinphoneChatRoom *chat_room) |
Callback used to notify a chat room has been exhumed. More... | |
typedef struct _LinphoneBuffer | LinphoneBuffer |
The object representing a data buffer. | |
typedef struct _LinphoneErrorInfo | LinphoneErrorInfo |
Object representing full details about a signaling error or status. More... | |
typedef struct _LinphoneImEncryptionEngine | LinphoneImEncryptionEngine |
IM encryption engine. More... | |
typedef struct _LinphoneImEncryptionEngineCbs | LinphoneImEncryptionEngineCbs |
An object to handle the callbacks for the handling a LinphoneImEncryptionEngine object. More... | |
typedef struct _LinphoneInfoMessage | LinphoneInfoMessage |
Object representing an informational message sent or received by the core. | |
typedef enum _LinphoneReason | LinphoneReason |
Enum describing various failure reasons or contextual information for some events. More... | |
typedef enum _LinphoneToneID | LinphoneToneID |
Enum listing frequent telephony tones. | |
typedef enum _LinphoneVersionUpdateCheckResult | LinphoneVersionUpdateCheckResult |
Enum describing the result of a version update check. | |
typedef enum _LinphoneXmlRpcArgType | LinphoneXmlRpcArgType |
Enum describing the types of argument for LinphoneXmlRpcRequest. | |
typedef struct _LinphoneXmlRpcRequest | LinphoneXmlRpcRequest |
The LinphoneXmlRpcRequest object representing a XML-RPC request to be sent. | |
typedef struct _LinphoneXmlRpcRequestCbs | LinphoneXmlRpcRequestCbs |
An object to handle the callbacks for handling the LinphoneXmlRpcRequest operations. | |
typedef struct _LinphoneXmlRpcSession | LinphoneXmlRpcSession |
The LinphoneXmlRpcSession object used to send XML-RPC requests and handle their responses. | |
typedef enum _LinphoneXmlRpcStatus | LinphoneXmlRpcStatus |
Enum describing the status of a LinphoneXmlRpcRequest. | |
typedef struct _LinphoneRange | LinphoneRange |
Structure describing a range of integers. | |
typedef int | LinphoneStatus |
Status code returned by some functions to notify whether the execution has been succesfully done or not. | |
typedef struct _LinphoneHeaders | LinphoneHeaders |
Object representing a chain of protocol headers. More... | |
typedef void(* | LinphoneMagicSearchCbsSearchResultsReceivedCb) (LinphoneMagicSearch *magic_search) |
Callback used to notify when results are received. More... | |
typedef void(* | LinphoneMagicSearchCbsLdapHaveMoreResultsCb) (LinphoneMagicSearch *magic_search, LinphoneLdap *ldap) |
Callback used to notify when LDAP have more results available. More... | |
typedef struct _LinphoneContent | LinphoneContent |
This object holds data that can be embedded in a signaling message. More... | |
typedef struct _LinphoneDialPlan | LinphoneDialPlan |
Represents a dial plan. | |
typedef struct _LinphonePushNotificationMessage | LinphonePushNotificationMessage |
Object holding chat message data received by a push notification on iOS platform only. More... | |
typedef struct _LinphoneMagicSearch | LinphoneMagicSearch |
A LinphoneMagicSearch is used to do specifics searchs. | |
typedef struct _LinphoneMagicSearchCbs | LinphoneMagicSearchCbs |
A LinphoneMagicSearchCbs is used to do specifics searchs. | |
typedef struct _LinphoneSearchResult | LinphoneSearchResult |
The LinphoneSearchResult object represents a result of a search. | |
typedef struct _LinphoneDigestAuthenticationPolicy | LinphoneDigestAuthenticationPolicy |
The LinphoneDigestAuthenticationPolicy holds parameters relative to digest authentication procedures. | |
Functions | |
LinphoneBuffer * | linphone_buffer_new (void) |
Create a new empty LinphoneBuffer object. More... | |
LinphoneBuffer * | linphone_buffer_new_from_data (const uint8_t *data, size_t size) |
Create a new LinphoneBuffer object from existing data. More... | |
LinphoneBuffer * | linphone_buffer_new_from_string (const char *data) |
Create a new LinphoneBuffer object from a string. More... | |
LinphoneBuffer * | linphone_buffer_ref (LinphoneBuffer *buffer) |
Acquire a reference to the buffer. More... | |
void | linphone_buffer_unref (LinphoneBuffer *buffer) |
Release reference to the buffer. More... | |
void * | linphone_buffer_get_user_data (const LinphoneBuffer *buffer) |
Retrieve the user pointer associated with the buffer. More... | |
void | linphone_buffer_set_user_data (LinphoneBuffer *buffer, void *user_data) |
Assign a user pointer to the buffer. More... | |
const uint8_t * | linphone_buffer_get_content (const LinphoneBuffer *buffer) |
Get the content of the data buffer. More... | |
void | linphone_buffer_set_content (LinphoneBuffer *buffer, const uint8_t *content, size_t size) |
Set the content of the data buffer. More... | |
const char * | linphone_buffer_get_string_content (const LinphoneBuffer *buffer) |
Get the string content of the data buffer. More... | |
void | linphone_buffer_set_string_content (LinphoneBuffer *buffer, const char *content) |
Set the string content of the data buffer. More... | |
size_t | linphone_buffer_get_size (const LinphoneBuffer *buffer) |
Get the size of the content of the data buffer. More... | |
void | linphone_buffer_set_size (LinphoneBuffer *buffer, size_t size) |
Set the size of the content of the data buffer. More... | |
bool_t | linphone_buffer_is_empty (const LinphoneBuffer *buffer) |
Tell whether the LinphoneBuffer is empty. More... | |
MS2_DEPRECATED int | linphone_core_start_echo_calibration (LinphoneCore *lc, LinphoneEcCalibrationCallback cb, LinphoneEcCalibrationAudioInit audio_init_cb, LinphoneEcCalibrationAudioUninit audio_uninit_cb, void *cb_data) |
Starts an echo calibration of the sound devices, in order to find adequate settings for the echo canceler automatically. More... | |
LinphoneStatus | linphone_core_start_echo_canceller_calibration (LinphoneCore *core) |
Starts an echo calibration of the sound devices, in order to find adequate settings for the echo canceler automatically. More... | |
LinphoneStatus | linphone_core_start_echo_tester (LinphoneCore *core, unsigned int rate) |
Start the simulation of call to test the latency with an external device. More... | |
LinphoneStatus | linphone_core_stop_echo_tester (LinphoneCore *core) |
Stop the simulation of call. More... | |
bool_t | linphone_core_has_crappy_opengl (LinphoneCore *core) |
Check whether the device is flagged has crappy opengl. More... | |
bool_t | linphone_core_has_builtin_echo_canceller (LinphoneCore *core) |
Check whether the device has a hardware echo canceller. More... | |
bool_t | linphone_core_is_echo_canceller_calibration_required (LinphoneCore *core) |
Check whether the device is echo canceller calibration is required. More... | |
LinphonePlayer * | linphone_core_create_local_player (LinphoneCore *core, const char *sound_card_name, const char *video_display_name, void *window_id) |
Create an independent media file player. More... | |
LinphoneRecorderParams * | linphone_core_create_recorder_params (const LinphoneCore *lc) |
Create a recorder params that will hold parameters. More... | |
LinphoneRecorder * | linphone_core_create_recorder (LinphoneCore *lc, LinphoneRecorderParams *params) |
Create a media file recorder. More... | |
LinphoneInfoMessage * | linphone_core_create_info_message (LinphoneCore *core) |
Creates an empty info message. More... | |
LinphoneMagicSearch * | linphone_core_create_magic_search (LinphoneCore *core) |
Create a LinphoneMagicSearch object. More... | |
void | linphone_core_check_for_update (LinphoneCore *core, const char *current_version) |
Checks if a new version of the application is available. More... | |
int | linphone_core_get_unread_chat_message_count (const LinphoneCore *core) |
Return the global unread chat message count. More... | |
int | linphone_core_get_unread_chat_message_count_from_local (const LinphoneCore *core, const LinphoneAddress *address) |
Return the unread chat message count for a given local address. More... | |
int | linphone_core_get_unread_chat_message_count_from_active_locals (const LinphoneCore *core) |
Return the unread chat message count for all active local address. More... | |
void | linphone_core_set_user_agent (LinphoneCore *core, const char *name, const char *version) |
Set the user agent string used in SIP messages. More... | |
LinphoneAddress * | linphone_core_interpret_url (LinphoneCore *core, const char *url) |
Constructs a LinphoneAddress from the given string if possible. More... | |
LinphoneAddress * | linphone_core_interpret_url_2 (LinphoneCore *core, const char *url, bool_t apply_international_prefix) |
Constructs a LinphoneAddress from the given string if possible. More... | |
void | linphone_core_enable_lime_x3dh (LinphoneCore *core, bool_t enable) |
Tells to LinphoneCore to use LIME X3DH. More... | |
bool_t | linphone_core_lime_x3dh_enabled (const LinphoneCore *core) |
Tells wether LIME X3DH is enabled or not. More... | |
MS2_DEPRECATED void | linphone_core_set_lime_x3dh_server_url (LinphoneCore *core, const char *url) |
Set the x3dh server url. More... | |
MS2_DEPRECATED const char * | linphone_core_get_lime_x3dh_server_url (LinphoneCore *core) |
Get the x3dh server url. More... | |
bool_t | linphone_core_lime_x3dh_available (const LinphoneCore *core) |
Tells if LIME X3DH is available. More... | |
LinphoneStatus | linphone_core_play_local (LinphoneCore *core, const char *audiofile) |
Plays an audio file to the local user. More... | |
bool_t | linphone_core_vcard_supported (void) |
Tells whether VCARD support is builtin. More... | |
bool_t | linphone_core_video_supported (LinphoneCore *core) |
Test if video is supported. More... | |
LinphoneStatus | linphone_core_take_preview_snapshot (LinphoneCore *core, const char *file) |
Take a photo of currently from capture device and write it into a jpeg file. More... | |
void | linphone_core_enter_background (LinphoneCore *core) |
This method is called by the application to notify the linphone core library when it enters background mode. More... | |
void | linphone_core_enter_foreground (LinphoneCore *core) |
This method is called by the application to notify the linphone core library when it enters foreground mode. More... | |
LinphoneConfig * | linphone_core_get_config (const LinphoneCore *core) |
Returns the config object used to manage the storage (config) file. More... | |
LinphoneConfig * | linphone_core_create_config (LinphoneCore *core, const char *filename) |
Create a LinphoneConfig object from a user config file. More... | |
LinphoneGlobalState | linphone_core_get_global_state (const LinphoneCore *core) |
Returns the global state of core. More... | |
void | linphone_core_set_file_transfer_server (LinphoneCore *core, const char *server_url) |
Globaly set an http file transfer server to be used for content type application/vnd.gsma.rcs-ft-http+xml. More... | |
const char * | linphone_core_get_file_transfer_server (LinphoneCore *core) |
Get the globaly set http file transfer server to be used for content type application/vnd.gsma.rcs-ft-http+xml. More... | |
LinphoneContent * | linphone_core_create_content (LinphoneCore *core) |
Create a content with default values from Linphone core. More... | |
LinphoneXmlRpcSession * | linphone_core_create_xml_rpc_session (LinphoneCore *core, const char *url) |
Create a LinphoneXmlRpcSession for a given url. More... | |
void | linphone_core_load_config_from_xml (LinphoneCore *core, const char *xml_uri) |
Update current config with the content of a xml config file. More... | |
void | linphone_core_ensure_registered (LinphoneCore *core) |
Call this method when you receive a push notification (if you handle push notifications manually). More... | |
void | linphone_core_process_push_notification (LinphoneCore *lc, const char *call_id) |
Call this method when you receive a push notification (if you handle push notifications manually). More... | |
void | linphone_core_push_notification_received (LinphoneCore *lc, const char *payload, const char *call_id) |
This method is called by Android & iOS platform helpers to notify the Core of a received push notification. More... | |
void | linphone_core_push_notification_received_2 (LinphoneCore *lc, const char *payload, const char *call_id, bool_t is_core_starting) |
This method is called by Android & iOS platform helpers to notify the Core of a received push notification. More... | |
LinphonePushNotificationMessage * | linphone_core_get_new_message_from_callid (LinphoneCore *core, const char *call_id) |
Get the chat message with the call_id included in the push notification body This will start the core given in parameter, iterate until the message is received and return it. More... | |
LinphoneChatRoom * | linphone_core_get_new_chat_room_from_conf_addr (LinphoneCore *core, const char *chat_room_addr) |
Get the chat room we have been added into using the chat_room_addr included in the push notification body This will start the core given in parameter, iterate until the new chat room is received and return it. More... | |
void | linphone_core_set_push_notification_enabled (LinphoneCore *core, bool_t enable) |
Enable or disable push notifications on Android & iOS. More... | |
void | linphone_core_enable_push_notification (LinphoneCore *core, bool_t enable) |
Enable or disable push notifications on Android & iOS. More... | |
bool_t | linphone_core_is_push_notification_enabled (LinphoneCore *core) |
Gets whether push notifications are enabled or not (Android & iOS only). More... | |
bool_t | linphone_core_push_notification_enabled (LinphoneCore *core) |
Gets whether push notifications are enabled or not (Android & iOS only). More... | |
bool_t | linphone_core_is_push_notification_available (LinphoneCore *core) |
Gets whether push notifications are available or not (Android & iOS only). More... | |
void | linphone_core_did_register_for_remote_push (LinphoneCore *core, void *device_token) |
Sets device_token when application didRegisterForRemoteNotificationsWithDeviceToken (IOS only). More... | |
void | linphone_core_did_register_for_remote_push_with_stringified_token (LinphoneCore *core, const char *device_token_str) |
Sets device_token when application didRegisterForRemoteNotificationsWithDeviceToken (IOS only). More... | |
void | linphone_core_set_auto_iterate_enabled (LinphoneCore *core, bool_t enable) |
Enable or disable the automatic schedule of linphone_core_iterate() method on Android & iOS. More... | |
void | linphone_core_enable_auto_iterate (LinphoneCore *core, bool_t enable) |
Enable or disable the automatic schedule of linphone_core_iterate() method on Android & iOS. More... | |
bool_t | linphone_core_is_auto_iterate_enabled (const LinphoneCore *core) |
Gets whether auto iterate is enabled or not (Android & iOS only). More... | |
bool_t | linphone_core_auto_iterate_enabled (const LinphoneCore *core) |
Gets whether auto iterate is enabled or not (Android & iOS only). More... | |
int | linphone_core_get_auto_iterate_foreground_schedule (const LinphoneCore *core) |
Gets the timer used to schedule the call to core.iterate() method when in foreground (Android only). More... | |
void | linphone_core_set_auto_iterate_foreground_schedule (LinphoneCore *core, int schedule) |
Sets the timer used to schedule the call to core.iterate() method when in foreground (Android only). More... | |
int | linphone_core_get_auto_iterate_background_schedule (const LinphoneCore *core) |
Gets the timer used to schedule the call to core.iterate() method when in background (Android only). More... | |
void | linphone_core_set_auto_iterate_background_schedule (LinphoneCore *core, int schedule) |
Sets the timer used to schedule the call to core.iterate() method when in background (Android only). More... | |
void | linphone_core_set_vibration_on_incoming_call_enabled (LinphoneCore *core, bool_t enable) |
Enable vibration will incoming call is ringing (Android only). More... | |
void | linphone_core_enable_vibration_on_incoming_call (LinphoneCore *core, bool_t enable) |
Enable vibration will incoming call is ringing (Android only). More... | |
bool_t | linphone_core_is_vibration_on_incoming_call_enabled (LinphoneCore *core) |
Gets whether the device will vibrate while an incoming call is ringing (Android only). More... | |
bool_t | linphone_core_vibration_on_incoming_call_enabled (LinphoneCore *core) |
Gets whether the device will vibrate while an incoming call is ringing (Android only). More... | |
bool_t | linphone_core_ldap_available (LinphoneCore *core) |
Tells if LDAP is available. More... | |
MS2_DEPRECATED LinphoneConfig * | linphone_core_create_lp_config (LinphoneCore *core, const char *filename) |
Create a LpConfig object from a user config file. More... | |
LinphoneErrorInfo * | linphone_error_info_new (void) |
Create an empty LinphoneErrorInfo object. More... | |
LinphoneErrorInfo * | linphone_error_info_ref (LinphoneErrorInfo *error_info) |
Increment refcount. More... | |
void | linphone_error_info_unref (LinphoneErrorInfo *error_info) |
Decrement refcount and possibly free the object. More... | |
int | linphone_error_info_get_retry_after (const LinphoneErrorInfo *error_info) |
Get Retry-After delay second from the error info. More... | |
LinphoneReason | linphone_error_info_get_reason (const LinphoneErrorInfo *error_info) |
Get reason code from the error info. More... | |
LinphoneErrorInfo * | linphone_error_info_get_sub_error_info (const LinphoneErrorInfo *error_info) |
Get pointer to chained LinphoneErrorInfo set in sub_ei. More... | |
const char * | linphone_error_info_get_phrase (const LinphoneErrorInfo *error_info) |
Get textual phrase from the error info. More... | |
const char * | linphone_error_info_get_protocol (const LinphoneErrorInfo *error_info) |
Get protocol from the error info. More... | |
const char * | linphone_error_info_get_warnings (const LinphoneErrorInfo *error_info) |
Provides additional information regarding the failure. More... | |
int | linphone_error_info_get_protocol_code (const LinphoneErrorInfo *error_info) |
Get the status code from the low level protocol (ex a SIP status code). More... | |
void | linphone_error_info_set (LinphoneErrorInfo *error_info, const char *protocol, LinphoneReason reason, int code, const char *status, const char *warning) |
Assign information to a LinphoneErrorInfo object. More... | |
void | linphone_error_info_set_sub_error_info (LinphoneErrorInfo *error_info, LinphoneErrorInfo *appended_error_info) |
Set the sub_ei in LinphoneErrorInfo to another LinphoneErrorInfo. More... | |
void | linphone_error_info_set_retry_after (LinphoneErrorInfo *error_info, int retry_after) |
Assign retry-after value to a LinphoneErrorInfo object. More... | |
void | linphone_error_info_set_reason (LinphoneErrorInfo *error_info, LinphoneReason reason) |
Assign reason LinphoneReason to a LinphoneErrorInfo object. More... | |
void | linphone_error_info_set_protocol (LinphoneErrorInfo *error_info, const char *protocol) |
Assign protocol name to a LinphoneErrorInfo object. More... | |
void | linphone_error_info_set_protocol_code (LinphoneErrorInfo *error_info, int code) |
Assign protocol code to a LinphoneErrorInfo object. More... | |
void | linphone_error_info_set_phrase (LinphoneErrorInfo *error_info, const char *phrase) |
Assign phrase to a LinphoneErrorInfo object. More... | |
void | linphone_error_info_set_warnings (LinphoneErrorInfo *error_info, const char *warnings) |
Assign warnings to a LinphoneErrorInfo object. More... | |
LinphoneHeaders * | linphone_headers_ref (LinphoneHeaders *obj) |
Increments ref count. | |
void | linphone_headers_unref (LinphoneHeaders *obj) |
Decrements ref count. | |
const char * | linphone_headers_get_value (LinphoneHeaders *headers, const char *header_name) |
Search for a given header name and return its value. More... | |
void | linphone_headers_add (LinphoneHeaders *headers, const char *name, const char *value) |
Add given header name and corresponding value. More... | |
void | linphone_headers_remove (LinphoneHeaders *headers, const char *name) |
Add given header name and corresponding value. More... | |
LinphoneImEncryptionEngineCbs * | linphone_im_encryption_engine_cbs_ref (LinphoneImEncryptionEngineCbs *cbs) |
Acquire a reference to the LinphoneImEncryptionEngineCbs. More... | |
void | linphone_im_encryption_engine_cbs_unref (LinphoneImEncryptionEngineCbs *cbs) |
Release reference to the LinphoneImEncryptionEngineCbs. More... | |
void * | linphone_im_encryption_engine_cbs_get_user_data (const LinphoneImEncryptionEngineCbs *cbs) |
Gets the user data in the LinphoneImEncryptionEngineCbs object. More... | |
void | linphone_im_encryption_engine_cbs_set_user_data (LinphoneImEncryptionEngineCbs *cbs, void *data) |
Sets the user data in the LinphoneImEncryptionEngineCbs object. More... | |
LinphoneImEncryptionEngine * | linphone_im_encryption_engine_ref (LinphoneImEncryptionEngine *imee) |
Acquire a reference to the LinphoneImEncryptionEngine. More... | |
void | linphone_im_encryption_engine_unref (LinphoneImEncryptionEngine *imee) |
Release reference to the LinphoneImEncryptionEngine. More... | |
void * | linphone_im_encryption_engine_get_user_data (const LinphoneImEncryptionEngine *imee) |
Gets the user data in the LinphoneImEncryptionEngine object. More... | |
void | linphone_im_encryption_engine_set_user_data (LinphoneImEncryptionEngine *imee, void *data) |
Sets the user data in the LinphoneImEncryptionEngine object. More... | |
LinphoneCore * | linphone_im_encryption_engine_get_core (LinphoneImEncryptionEngine *imee) |
Gets the LinphoneCore object that created the IM encryption engine. More... | |
LinphoneImEncryptionEngineCbs * | linphone_im_encryption_engine_get_callbacks (const LinphoneImEncryptionEngine *imee) |
Gets the LinphoneImEncryptionEngineCbs object that holds the callbacks. More... | |
LinphoneImEncryptionEngineCbsIncomingMessageCb | linphone_im_encryption_engine_cbs_get_process_incoming_message (LinphoneImEncryptionEngineCbs *cbs) |
Gets the callback that will decrypt the chat messages upon reception. More... | |
void | linphone_im_encryption_engine_cbs_set_process_incoming_message (LinphoneImEncryptionEngineCbs *cbs, LinphoneImEncryptionEngineCbsIncomingMessageCb cb) |
Sets the callback that will decrypt the chat messages upon reception. More... | |
LinphoneImEncryptionEngineCbsOutgoingMessageCb | linphone_im_encryption_engine_cbs_get_process_outgoing_message (LinphoneImEncryptionEngineCbs *cbs) |
Gets the callback that will encrypt the chat messages before sending them. More... | |
void | linphone_im_encryption_engine_cbs_set_process_outgoing_message (LinphoneImEncryptionEngineCbs *cbs, LinphoneImEncryptionEngineCbsOutgoingMessageCb cb) |
Sets the callback that will encrypt the chat messages before sending them. More... | |
LinphoneImEncryptionEngineCbsDownloadingFileCb | linphone_im_encryption_engine_cbs_get_process_downloading_file (LinphoneImEncryptionEngineCbs *cbs) |
Gets the callback that will decrypt the files while downloading them. More... | |
void | linphone_im_encryption_engine_cbs_set_process_downloading_file (LinphoneImEncryptionEngineCbs *cbs, LinphoneImEncryptionEngineCbsDownloadingFileCb cb) |
Sets the callback that will decrypt the files while downloading them. More... | |
LinphoneImEncryptionEngineCbsUploadingFileCb | linphone_im_encryption_engine_cbs_get_process_uploading_file (LinphoneImEncryptionEngineCbs *cbs) |
Gets the callback that will will encrypt the files while uploading them. More... | |
void | linphone_im_encryption_engine_cbs_set_process_uploading_file (LinphoneImEncryptionEngineCbs *cbs, LinphoneImEncryptionEngineCbsUploadingFileCb cb) |
Sets the callback that will encrypt the files while uploading them. More... | |
LinphoneImEncryptionEngineCbsIsEncryptionEnabledForFileTransferCb | linphone_im_encryption_engine_cbs_get_is_encryption_enabled_for_file_transfer (LinphoneImEncryptionEngineCbs *cbs) |
Gets the callback telling whether or not to encrypt the files. More... | |
void | linphone_im_encryption_engine_cbs_set_is_encryption_enabled_for_file_transfer (LinphoneImEncryptionEngineCbs *cbs, LinphoneImEncryptionEngineCbsIsEncryptionEnabledForFileTransferCb cb) |
Sets the callback telling whether or not to encrypt the files. More... | |
LinphoneImEncryptionEngineCbsGenerateFileTransferKeyCb | linphone_im_encryption_engine_cbs_get_generate_file_transfer_key (LinphoneImEncryptionEngineCbs *cbs) |
Gets the callback that will generate the key to encrypt the file before uploading it. More... | |
void | linphone_im_encryption_engine_cbs_set_generate_file_transfer_key (LinphoneImEncryptionEngineCbs *cbs, LinphoneImEncryptionEngineCbsGenerateFileTransferKeyCb cb) |
Sets the callback that will generate the key to encrypt the file before uploading it. More... | |
LinphoneImEncryptionEngine * | linphone_im_encryption_engine_new (void) |
Create the IM encryption engine. More... | |
void | linphone_info_message_add_header (LinphoneInfoMessage *info_message, const char *name, const char *value) |
Add a header to an info message to be sent. More... | |
const char * | linphone_info_message_get_header (const LinphoneInfoMessage *info_message, const char *name) |
Obtain a header value from a received info message. More... | |
void | linphone_info_message_set_content (LinphoneInfoMessage *info_message, const LinphoneContent *content) |
Assign a content to the info message. More... | |
const LinphoneContent * | linphone_info_message_get_content (const LinphoneInfoMessage *info_message) |
Returns the info message's content as a LinphoneContent structure. More... | |
LinphoneInfoMessage * | linphone_info_message_ref (LinphoneInfoMessage *info_message) |
Take a reference on a LinphoneInfoMessage. More... | |
void | linphone_info_message_unref (LinphoneInfoMessage *info_message) |
Release a reference on a LinphoneInfoMessage. More... | |
LinphoneInfoMessage * | linphone_info_message_copy (const LinphoneInfoMessage *info_message) |
LinphoneConfig * | linphone_config_new (const char *filename) |
Instantiates a LinphoneConfig object from a user config file. More... | |
LinphoneConfig * | linphone_config_new_from_buffer (const char *buffer) |
Instantiates a LinphoneConfig object from a user provided buffer. More... | |
LinphoneConfig * | linphone_config_new_with_factory (const char *config_filename, const char *factory_config_filename) |
Instantiates a LinphoneConfig object from a user config file and a factory config file. More... | |
LinphoneConfig * | linphone_config_new_for_shared_core (const char *app_group_id, const char *config_filename, const char *factory_config_filename) |
Instantiates a LinphoneConfig object from a user config file name, group id and a factory config file. More... | |
LinphoneStatus | linphone_config_read_file (LinphoneConfig *config, const char *filename) |
Reads a user config file and fill the LinphoneConfig with the read config values. More... | |
const char * | linphone_config_load_from_xml_file (LinphoneConfig *config, const char *filename) |
Reads a xml config file and fill the LinphoneConfig with the read config dynamic values. More... | |
LinphoneStatus | linphone_config_load_from_xml_string (LinphoneConfig *config, const char *buffer) |
Reads a xml config string and fill the LinphoneConfig with the read config dynamic values. More... | |
const char * | linphone_config_get_filename (const LinphoneConfig *config) |
Returns the filename used to store the user config. More... | |
const char * | linphone_config_get_factory_filename (const LinphoneConfig *config) |
Returns the filename that was used as the factory config. More... | |
const char * | linphone_config_get_temporary_filename (const LinphoneConfig *config) |
Returns the temporary filename used to store the user config. More... | |
const char * | linphone_config_get_string (const LinphoneConfig *config, const char *section, const char *key, const char *default_string) |
Retrieves a configuration item as a string, given its section, key, and default value. More... | |
bctbx_list_t * | linphone_config_get_string_list (const LinphoneConfig *config, const char *section, const char *key, bctbx_list_t *default_list) |
Retrieves a configuration item as a list of strings, given its section, key, and default value. More... | |
bool_t | linphone_config_get_range (const LinphoneConfig *config, const char *section, const char *key, int *min, int *max, int default_min, int default_max) |
Retrieves a configuration item as a range, given its section, key, and default min and max values. More... | |
int | linphone_config_get_int (const LinphoneConfig *config, const char *section, const char *key, int default_value) |
Retrieves a configuration item as an integer, given its section, key, and default value. More... | |
bool_t | linphone_config_get_bool (const LinphoneConfig *config, const char *section, const char *key, bool_t default_value) |
Retrieves a configuration item as a boolean, given its section, key, and default value. More... | |
int64_t | linphone_config_get_int64 (const LinphoneConfig *config, const char *section, const char *key, int64_t default_value) |
Retrieves a configuration item as a 64 bit integer, given its section, key, and default value. More... | |
float | linphone_config_get_float (const LinphoneConfig *config, const char *section, const char *key, float default_value) |
Retrieves a configuration item as a float, given its section, key, and default value. More... | |
void | linphone_config_set_string (LinphoneConfig *config, const char *section, const char *key, const char *value) |
Sets a string config item. More... | |
void | linphone_config_set_string_list (LinphoneConfig *config, const char *section, const char *key, const bctbx_list_t *value) |
Sets a string list config item. More... | |
void | linphone_config_set_range (LinphoneConfig *config, const char *section, const char *key, int min_value, int max_value) |
Sets a range config item. More... | |
void | linphone_config_set_int (LinphoneConfig *config, const char *section, const char *key, int value) |
Sets an integer config item. More... | |
void | linphone_config_set_bool (LinphoneConfig *config, const char *section, const char *key, bool_t value) |
Sets a boolean config item. More... | |
void | linphone_config_set_int_hex (LinphoneConfig *config, const char *section, const char *key, int value) |
Sets an integer config item, but store it as hexadecimal. More... | |
void | linphone_config_set_int64 (LinphoneConfig *config, const char *section, const char *key, int64_t value) |
Sets a 64 bits integer config item. More... | |
void | linphone_config_set_float (LinphoneConfig *config, const char *section, const char *key, float value) |
Sets a float config item. More... | |
LinphoneStatus | linphone_config_sync (LinphoneConfig *config) |
Writes the config file to disk. More... | |
void | linphone_config_reload (LinphoneConfig *config) |
Reload the config from the file. More... | |
int | linphone_config_has_section (const LinphoneConfig *config, const char *section) |
Returns if a given section is present in the configuration. More... | |
void | linphone_config_clean_section (LinphoneConfig *config, const char *section) |
Removes every pair of key,value in a section and remove the section. More... | |
int | linphone_config_has_entry (const LinphoneConfig *config, const char *section, const char *key) |
Returns if a given section with a given key is present in the configuration. More... | |
void | linphone_config_clean_entry (LinphoneConfig *config, const char *section, const char *key) |
Removes entries for key,value in a section. More... | |
bctbx_list_t * | linphone_config_get_sections_names_list (LinphoneConfig *config) |
Returns the list of sections' names in the LinphoneConfig. More... | |
bctbx_list_t * | linphone_config_get_keys_names_list (LinphoneConfig *config, const char *section) |
Returns the list of keys' names for a section in the LinphoneConfig. More... | |
void | linphone_config_for_each_section (const LinphoneConfig *config, void(*callback)(const char *section, void *ctx), void *ctx) |
Call a function for each section present in the configuration. More... | |
void | linphone_config_for_each_entry (const LinphoneConfig *config, const char *section, void(*callback)(const char *entry, void *ctx), void *ctx) |
Call a function for each entry present in a section configuration. More... | |
bool_t | linphone_config_needs_commit (const LinphoneConfig *config) |
void | linphone_config_destroy (LinphoneConfig *cfg) |
int | linphone_config_get_default_int (const LinphoneConfig *config, const char *section, const char *key, int default_value) |
Retrieves a default configuration item as an integer, given its section, key, and default value. More... | |
int64_t | linphone_config_get_default_int64 (const LinphoneConfig *config, const char *section, const char *key, int64_t default_value) |
Retrieves a default configuration item as a 64 bit integer, given its section, key, and default value. More... | |
float | linphone_config_get_default_float (const LinphoneConfig *config, const char *section, const char *key, float default_value) |
Retrieves a default configuration item as a float, given its section, key, and default value. More... | |
const char * | linphone_config_get_default_string (const LinphoneConfig *config, const char *section, const char *key, const char *default_value) |
Retrieves a default configuration item as a string, given its section, key, and default value. More... | |
const char * | linphone_config_get_section_param_string (const LinphoneConfig *config, const char *section, const char *key, const char *default_value) |
Retrieves a section parameter item as a string, given its section and key. More... | |
LinphoneConfig * | linphone_config_ref (LinphoneConfig *config) |
increment reference count More... | |
void | linphone_config_unref (LinphoneConfig *config) |
Decrement reference count, which will eventually free the object. More... | |
void | linphone_config_write_relative_file (const LinphoneConfig *config, const char *filename, const char *data) |
Write a string in a file placed relatively with the Linphone configuration file. More... | |
LinphoneStatus | linphone_config_read_relative_file (const LinphoneConfig *config, const char *filename, char *data, size_t max_length) |
Read a string from a file placed beside the Linphone configuration file. More... | |
bool_t | linphone_config_relative_file_exists (const LinphoneConfig *config, const char *filename) |
Check if given file name exists relatively to the current location. More... | |
char * | linphone_config_dump_as_xml (const LinphoneConfig *config) |
Dumps the LinphoneConfig as XML into a buffer. More... | |
char * | linphone_config_dump (const LinphoneConfig *config) |
Dumps the LinphoneConfig as INI into a buffer. More... | |
bool_t | linphone_config_get_overwrite_flag_for_entry (const LinphoneConfig *config, const char *section, const char *key) |
Retrieves the overwrite flag for a config item. More... | |
void | linphone_config_set_overwrite_flag_for_entry (LinphoneConfig *config, const char *section, const char *key, bool_t value) |
Sets the overwrite flag for a config item (used when dumping config as xml) More... | |
bool_t | linphone_config_get_overwrite_flag_for_section (const LinphoneConfig *config, const char *section) |
Retrieves the overwrite flag for a config section. More... | |
void | linphone_config_set_overwrite_flag_for_section (LinphoneConfig *config, const char *section, bool_t value) |
Sets the overwrite flag for a config section (used when dumping config as xml) More... | |
bool_t | linphone_config_get_skip_flag_for_entry (const LinphoneConfig *config, const char *section, const char *key) |
Retrieves the skip flag for a config item. More... | |
void | linphone_config_set_skip_flag_for_entry (LinphoneConfig *config, const char *section, const char *key, bool_t value) |
Sets the skip flag for a config item (used when dumping config as xml) More... | |
bool_t | linphone_config_get_skip_flag_for_section (const LinphoneConfig *config, const char *section) |
Retrieves the skip flag for a config section. More... | |
void | linphone_config_set_skip_flag_for_section (LinphoneConfig *config, const char *section, bool_t value) |
Sets the skip flag for a config section (used when dumping config as xml) More... | |
LinphoneDictionary * | linphone_config_section_to_dict (const LinphoneConfig *config, const char *section) |
Converts a config section into a dictionary. More... | |
void | linphone_config_load_dict_to_section (LinphoneConfig *config, const char *section, const LinphoneDictionary *dict) |
Loads a dictionary into a section of the LinphoneConfig. More... | |
bool_t | linphone_config_is_readonly (const LinphoneConfig *config) |
Indicates whether the LinphoneConfig object is readonly, in other words it has no file backend or file is opened without write permission. More... | |
const char ** | linphone_config_get_sections_names (LinphoneConfig *config) |
Returns the list of sections' names in the LinphoneConfig. More... | |
const char * | linphone_configuring_state_to_string (LinphoneConfiguringState state) |
Converts a LinphoneConfiguringState enum to a string. More... | |
const char * | linphone_reason_to_string (LinphoneReason error) |
Converts a LinphoneReason enum to a string. More... | |
const char * | linphone_transport_to_string (LinphoneTransportType transport) |
Converts a LinphoneTransportType enum to a lowercase string. More... | |
LinphoneTransportType | linphone_transport_parse (const char *transport) |
Converts a lowercase string to a LinphoneTransportType enum. More... | |
bool_t | linphone_error_code_is_retry_after (int error) |
Check whether an error code is in Retry-After field. More... | |
LinphoneReason | linphone_error_code_to_reason (int error) |
Converts an error code to a LinphoneReason. More... | |
int | linphone_reason_to_error_code (LinphoneReason reason) |
Converts a LinphoneReason to an error code. More... | |
LinphoneRange * | linphone_range_ref (LinphoneRange *range) |
Increment refcount. More... | |
void | linphone_range_unref (LinphoneRange *range) |
Decrement refcount and possibly free the object. More... | |
void * | linphone_range_get_user_data (const LinphoneRange *range) |
Gets the user data in the LinphoneRange object. More... | |
void | linphone_range_set_user_data (LinphoneRange *range, void *user_data) |
Sets the user data in the LinphoneRange object. More... | |
int | linphone_range_get_min (const LinphoneRange *range) |
Gets the lower value of the range. More... | |
int | linphone_range_get_max (const LinphoneRange *range) |
Gets the higher value of the range. More... | |
void | linphone_range_set_min (LinphoneRange *range, int min) |
Sets the lower value of the range. More... | |
void | linphone_range_set_max (LinphoneRange *range, int max) |
Sets the higher value of the range. More... | |
LinphoneXmlRpcRequest * | linphone_xml_rpc_request_new (LinphoneXmlRpcArgType return_type, const char *method) |
Create a new LinphoneXmlRpcRequest object. More... | |
LinphoneXmlRpcRequest * | linphone_xml_rpc_request_ref (LinphoneXmlRpcRequest *request) |
Acquire a reference to the XML-RPC request. More... | |
void | linphone_xml_rpc_request_unref (LinphoneXmlRpcRequest *request) |
Release reference to the XML-RPC request. More... | |
void * | linphone_xml_rpc_request_get_user_data (const LinphoneXmlRpcRequest *request) |
Retrieve the user pointer associated with the XML-RPC request. More... | |
void | linphone_xml_rpc_request_set_user_data (LinphoneXmlRpcRequest *request, void *user_data) |
Assign a user pointer to the XML-RPC request. More... | |
void | linphone_xml_rpc_request_add_int_arg (LinphoneXmlRpcRequest *request, int value) |
Add an integer argument to an XML-RPC request. More... | |
void | linphone_xml_rpc_request_add_string_arg (LinphoneXmlRpcRequest *request, const char *value) |
Add a string argument to an XML-RPC request. More... | |
void | linphone_xml_rpc_request_add_callbacks (LinphoneXmlRpcRequest *request, LinphoneXmlRpcRequestCbs *cbs) |
Add the current LinphoneXmlRpcRequestCbs object to a LinphoneXmlRpcRequest. More... | |
void | linphone_xml_rpc_request_remove_callbacks (LinphoneXmlRpcRequest *request, LinphoneXmlRpcRequestCbs *cbs) |
Remove the current LinphoneXmlRpcRequestCbs object from a LinphoneXmlRpcRequest. More... | |
LinphoneXmlRpcRequestCbs * | linphone_xml_rpc_request_get_current_callbacks (const LinphoneXmlRpcRequest *request) |
Get the current LinphoneXmlRpcRequestCbs object associated with a LinphoneXmlRpcRequest. More... | |
const char * | linphone_xml_rpc_request_get_content (const LinphoneXmlRpcRequest *request) |
Get the content of the XML-RPC request. More... | |
LinphoneXmlRpcStatus | linphone_xml_rpc_request_get_status (const LinphoneXmlRpcRequest *request) |
Get the status of the XML-RPC request. More... | |
int | linphone_xml_rpc_request_get_int_response (const LinphoneXmlRpcRequest *request) |
Get the response to an XML-RPC request sent with linphone_xml_rpc_session_send_request() and returning an integer response. More... | |
const char * | linphone_xml_rpc_request_get_string_response (const LinphoneXmlRpcRequest *request) |
Get the response to an XML-RPC request sent with linphone_xml_rpc_session_send_request() and returning a string response. More... | |
const char * | linphone_xml_rpc_request_get_raw_response (const LinphoneXmlRpcRequest *request) |
Get the raw response to an XML-RPC request sent with linphone_xml_rpc_session_send_request() and returning http body as string. More... | |
const bctbx_map_t * | linphone_xml_rpc_request_get_string_struct_response (const LinphoneXmlRpcRequest *request) |
Get the response to an XML-RPC request sent with linphone_xml_rpc_session_send_request() and returning a struct response. More... | |
const bctbx_list_t * | linphone_xml_rpc_request_get_list_response (const LinphoneXmlRpcRequest *request) |
Get the response to an XML-RPC request sent with linphone_xml_rpc_session_send_request() and returning a string response. More... | |
LinphoneXmlRpcSession * | linphone_xml_rpc_session_new (LinphoneCore *core, const char *url) |
Create a new LinphoneXmlRpcSession object. More... | |
LinphoneXmlRpcSession * | linphone_xml_rpc_session_ref (LinphoneXmlRpcSession *session) |
Acquire a reference to the XML-RPC session. More... | |
void | linphone_xml_rpc_session_unref (LinphoneXmlRpcSession *session) |
Release reference to the XML-RPC session. More... | |
void * | linphone_xml_rpc_session_get_user_data (const LinphoneXmlRpcSession *session) |
Retrieve the user pointer associated with the XML-RPC session. More... | |
void | linphone_xml_rpc_session_set_user_data (LinphoneXmlRpcSession *session, void *user_data) |
Assign a user pointer to the XML-RPC session. More... | |
void | linphone_xml_rpc_session_send_request (LinphoneXmlRpcSession *session, LinphoneXmlRpcRequest *request) |
Send an XML-RPC request. More... | |
void | linphone_xml_rpc_session_release (LinphoneXmlRpcSession *session) |
Stop and unref an XML rpc session. More... | |
LinphoneXmlRpcRequestCbs * | linphone_xml_rpc_request_cbs_ref (LinphoneXmlRpcRequestCbs *cbs) |
Acquire a reference to a LinphoneXmlRpcRequestCbs object. More... | |
void | linphone_xml_rpc_request_cbs_unref (LinphoneXmlRpcRequestCbs *cbs) |
Release a reference to a LinphoneXmlRpcRequestCbs object. More... | |
void * | linphone_xml_rpc_request_cbs_get_user_data (const LinphoneXmlRpcRequestCbs *cbs) |
Retrieve the user pointer associated with a LinphoneXmlRpcRequestCbs object. More... | |
void | linphone_xml_rpc_request_cbs_set_user_data (LinphoneXmlRpcRequestCbs *cbs, void *user_data) |
Assign a user pointer to a LinphoneXmlRpcRequestCbs object. More... | |
LinphoneXmlRpcRequestCbsResponseCb | linphone_xml_rpc_request_cbs_get_response (const LinphoneXmlRpcRequestCbs *cbs) |
Get the response callback. More... | |
void | linphone_xml_rpc_request_cbs_set_response (LinphoneXmlRpcRequestCbs *cbs, LinphoneXmlRpcRequestCbsResponseCb cb) |
Set the response callback. More... | |
LinphoneXmlRpcRequest * | linphone_xml_rpc_session_create_request (LinphoneXmlRpcSession *session, LinphoneXmlRpcArgType return_type, const char *method) |
Creates a LinphoneXmlRpcRequest from a LinphoneXmlRpcSession. More... | |
MS2_DEPRECATED LinphoneXmlRpcRequestCbs * | linphone_xml_rpc_request_get_callbacks (const LinphoneXmlRpcRequest *request) |
Get the LinphoneXmlRpcRequestCbs object associated with a LinphoneXmlRpcRequest. More... | |
LinphoneCallStats * | linphone_call_stats_ref (LinphoneCallStats *stats) |
Increment refcount. More... | |
void | linphone_call_stats_unref (LinphoneCallStats *stats) |
Decrement refcount and possibly free the object. More... | |
void * | linphone_call_stats_get_user_data (const LinphoneCallStats *stats) |
Gets the user data in the LinphoneCallStats object. More... | |
void | linphone_call_stats_set_user_data (LinphoneCallStats *stats, void *data) |
Sets the user data in the LinphoneCallStats object. More... | |
LinphoneContent * | linphone_content_ref (LinphoneContent *content) |
Acquire a reference to the content. More... | |
void | linphone_content_unref (LinphoneContent *content) |
Release reference to the content. More... | |
void * | linphone_content_get_user_data (const LinphoneContent *content) |
Retrieve the user pointer associated with the content. More... | |
void | linphone_content_set_user_data (LinphoneContent *content, void *user_data) |
Assign a user pointer to the content. More... | |
const char * | linphone_content_get_type (const LinphoneContent *content) |
Get the mime type of the content data. More... | |
void | linphone_content_set_type (LinphoneContent *content, const char *type) |
Set the mime type of the content data. More... | |
const char * | linphone_content_get_subtype (const LinphoneContent *content) |
Get the mime subtype of the content data. More... | |
void | linphone_content_set_subtype (LinphoneContent *content, const char *subtype) |
Set the mime subtype of the content data. More... | |
void | linphone_content_add_content_type_parameter (LinphoneContent *content, const char *name, const char *value) |
Adds a parameter to the ContentType header. More... | |
const uint8_t * | linphone_content_get_buffer (const LinphoneContent *content) |
Get the content data buffer, usually a string. More... | |
void | linphone_content_set_buffer (LinphoneContent *content, const uint8_t *buffer, size_t size) |
Set the content data buffer, usually a string. More... | |
const char * | linphone_content_get_utf8_text (const LinphoneContent *content) |
Get the string content data buffer. More... | |
void | linphone_content_set_utf8_text (LinphoneContent *content, const char *buffer) |
Get the string content data buffer. More... | |
size_t | linphone_content_get_size (const LinphoneContent *content) |
Get the content data buffer size, excluding null character despite null character is always set for convenience. More... | |
size_t | linphone_content_get_file_size (const LinphoneContent *content) |
Get the file size if content is either a FileContent or a FileTransferContent. More... | |
void | linphone_content_set_size (LinphoneContent *content, size_t size) |
Set the content data size, excluding null character despite null character is always set for convenience. More... | |
const char * | linphone_content_get_encoding (const LinphoneContent *content) |
Get the encoding of the data buffer, for example "gzip". More... | |
void | linphone_content_set_encoding (LinphoneContent *content, const char *encoding) |
Set the encoding of the data buffer, for example "gzip". More... | |
const char * | linphone_content_get_disposition (const LinphoneContent *content) |
Get the disposition of the Content, for example "recipient-list". More... | |
void | linphone_content_set_disposition (LinphoneContent *content, const char *disposition) |
Set the disposition of the Content, for example "recipient-list". More... | |
const char * | linphone_content_get_name (const LinphoneContent *content) |
Get the name associated with a RCS file transfer message. More... | |
void | linphone_content_set_name (LinphoneContent *content, const char *name) |
Set the name associated with a RCS file transfer message. More... | |
bool_t | linphone_content_is_multipart (const LinphoneContent *content) |
Tell whether a content is a multipart content. More... | |
bctbx_list_t * | linphone_content_get_parts (const LinphoneContent *content) |
Get all the parts from a multipart content. More... | |
LinphoneContent * | linphone_content_get_part (const LinphoneContent *content, int index) |
Get a part from a multipart content according to its index. More... | |
LinphoneContent * | linphone_content_find_part_by_header (const LinphoneContent *content, const char *header_name, const char *header_value) |
Find a part from a multipart content looking for a part header with a specified value. More... | |
const char * | linphone_content_get_custom_header (const LinphoneContent *content, const char *header_name) |
Get a custom header value of a content. More... | |
void | linphone_content_add_custom_header (LinphoneContent *content, const char *header_name, const char *header_value) |
Adds a custom header in a content. More... | |
const char * | linphone_content_get_key (const LinphoneContent *content) |
Get the key associated with a RCS file transfer message if encrypted. More... | |
size_t | linphone_content_get_key_size (const LinphoneContent *content) |
Get the size of key associated with a RCS file transfer message if encrypted. More... | |
void | linphone_content_set_key (LinphoneContent *content, const char *key, const size_t key_length) |
Set the key associated with a RCS file transfer message if encrypted. More... | |
const char * | linphone_content_get_file_path (const LinphoneContent *content) |
Get the file transfer filepath set for this content (replace linphone_chat_message_get_file_transfer_filepath). More... | |
char * | linphone_content_export_plain_file (const LinphoneContent *content) |
Generates a temporary plain copy of the file and returns its paths The caller is responsible to then delete this temporary copy and the returned string. More... | |
void | linphone_content_set_file_path (LinphoneContent *content, const char *file_path) |
Set the file transfer filepath for this content (replace linphone_chat_message_set_file_transfer_filepath). More... | |
int | linphone_content_get_file_duration (LinphoneContent *content) |
Gets the file duration in seconds, if information is available. More... | |
bool_t | linphone_content_is_text (const LinphoneContent *content) |
Tells whether or not this content contains text. More... | |
bool_t | linphone_content_is_voice_recording (const LinphoneContent *content) |
Tells whether or not this content contains a voice recording by checking it's content type. More... | |
bool_t | linphone_content_is_icalendar (const LinphoneContent *content) |
Tells whether or not this content contains an icalendar by checking it's content type. More... | |
bool_t | linphone_content_is_file (const LinphoneContent *content) |
Tells whether or not this content contains a file. More... | |
bool_t | linphone_content_is_file_transfer (const LinphoneContent *content) |
Tells whether or not this content is a file transfer. More... | |
bool_t | linphone_content_is_file_encrypted (const LinphoneContent *content) |
Tells whether or not this content contains an encrypted file. More... | |
MS2_DEPRECATED const char * | linphone_content_get_string_buffer (const LinphoneContent *content) |
Get the string content data buffer. More... | |
MS2_DEPRECATED void | linphone_content_set_string_buffer (LinphoneContent *content, const char *buffer) |
Set the string content data buffer. More... | |
MS2_DEPRECATED char * | linphone_content_get_plain_file_path (const LinphoneContent *content) |
Generates a temporary plain copy of the file and returns its paths The caller is responsible to then delete this temporary copy and the returned string. More... | |
LinphoneDialPlan * | linphone_dial_plan_ref (LinphoneDialPlan *dial_plan) |
Increases the reference counter of LinphoneDialPlan objects. More... | |
void | linphone_dial_plan_unref (LinphoneDialPlan *dial_plan) |
Decreases the reference counter of #LinphoneDialPaln objects. More... | |
const char * | linphone_dial_plan_get_country (const LinphoneDialPlan *dial_plan) |
Returns the country name of the dialplan. More... | |
const char * | linphone_dial_plan_get_iso_country_code (const LinphoneDialPlan *dial_plan) |
Returns the iso country code of the dialplan. More... | |
const char * | linphone_dial_plan_get_country_calling_code (const LinphoneDialPlan *dial_plan) |
Returns the country calling code of the dialplan. More... | |
int | linphone_dial_plan_get_national_number_length (const LinphoneDialPlan *dial_plan) |
Returns the national number length of the dialplan. More... | |
const char * | linphone_dial_plan_get_international_call_prefix (const LinphoneDialPlan *dial_plan) |
Returns the international call prefix of the dialplan. More... | |
const char * | linphone_dial_plan_get_flag (const LinphoneDialPlan *dial_plan) |
Returns the flag of the teritory as unicode characters. More... | |
int | linphone_dial_plan_lookup_ccc_from_iso (const char *iso) |
Function to get call country code from ISO 3166-1 alpha-2 code, ex: FR returns 33. More... | |
int | linphone_dial_plan_lookup_ccc_from_e164 (const char *e164) |
Function to get call country code from an e164 number, ex: +33952650121 will return 33. More... | |
bctbx_list_t * | linphone_dial_plan_get_all_list (void) |
Returns a list of all known dial plans. More... | |
const LinphoneDialPlan * | linphone_dial_plan_by_ccc (const char *ccc) |
Find best match for given CCC. More... | |
const LinphoneDialPlan * | linphone_dial_plan_by_ccc_as_int (int ccc) |
Find best match for given CCC. More... | |
bool_t | linphone_dial_plan_is_generic (const LinphoneDialPlan *ccc) |
Return if given plan is generic. More... | |
MS2_DEPRECATED const LinphoneDialPlan * | linphone_dial_plan_get_all (void) |
Return NULL-terminated array of all known dial plans. More... | |
const char * | linphone_factory_get_config_dir (LinphoneFactory *factory, void *context) |
Get the config path. More... | |
bool_t | linphone_factory_is_config_dir_set (const LinphoneFactory *factory) |
Test if config dir has been set. More... | |
const char * | linphone_factory_get_data_dir (LinphoneFactory *factory, void *context) |
Get the data path. More... | |
bool_t | linphone_factory_is_data_dir_set (const LinphoneFactory *factory) |
Test if data dir has been set. More... | |
const char * | linphone_factory_get_download_dir (LinphoneFactory *factory, void *context) |
Get the download path. More... | |
bool_t | linphone_factory_is_download_dir_set (const LinphoneFactory *factory) |
Test if download dir has been set. More... | |
const char * | linphone_factory_get_cache_dir (LinphoneFactory *factory, void *context) |
Get the cache path. More... | |
bool_t | linphone_factory_is_cache_dir_set (const LinphoneFactory *factory) |
Test if cache dir has been set. More... | |
LinphoneMagicSearch * | linphone_magic_search_new (LinphoneCore *core) |
Constructs a LinphoneMagicSearch object. More... | |
LinphoneMagicSearch * | linphone_magic_search_ref (LinphoneMagicSearch *magic_search) |
Increment reference count of LinphoneMagicSearch object. More... | |
void | linphone_magic_search_unref (LinphoneMagicSearch *magic_search) |
Decrement reference count of LinphoneMagicSearch object. More... | |
void | linphone_magic_search_add_callbacks (LinphoneMagicSearch *magic_search, LinphoneMagicSearchCbs *cbs) |
Add a listener in order to be notified of LinphoneMagicSearch events. More... | |
void | linphone_magic_search_remove_callbacks (LinphoneMagicSearch *magic_search, LinphoneMagicSearchCbs *cbs) |
Remove a listener from a LinphoneMagicSearch. More... | |
LinphoneMagicSearchCbs * | linphone_magic_search_get_current_callbacks (const LinphoneMagicSearch *magic_search) |
Gets the current LinphoneMagicSearchCbs. More... | |
void | linphone_magic_search_set_min_weight (LinphoneMagicSearch *magic_search, unsigned int weight) |
Set the minimum value used to calculate the weight in search. More... | |
unsigned int | linphone_magic_search_get_min_weight (const LinphoneMagicSearch *magic_search) |
Get the minimum value used to calculate the weight in search. More... | |
void | linphone_magic_search_set_max_weight (LinphoneMagicSearch *magic_search, unsigned int weight) |
Set the maximum value used to calculate the weight in search. More... | |
unsigned int | linphone_magic_search_get_max_weight (const LinphoneMagicSearch *magic_search) |
Get the maximum value used to calculate the weight in search. More... | |
const char * | linphone_magic_search_get_delimiter (const LinphoneMagicSearch *magic_search) |
Get the delimiter used for the search. More... | |
void | linphone_magic_search_set_delimiter (LinphoneMagicSearch *magic_search, const char *delimiter) |
Set the delimiter used to find matched filter word. More... | |
bool_t | linphone_magic_search_get_use_delimiter (LinphoneMagicSearch *magic_search) |
Returns whether the delimiter is being used for the search. More... | |
void | linphone_magic_search_set_use_delimiter (LinphoneMagicSearch *magic_search, bool_t enable) |
Enable or disable the delimiter in search. More... | |
unsigned int | linphone_magic_search_get_search_limit (const LinphoneMagicSearch *magic_search) |
Get the number of maximum search result the search will return. More... | |
void | linphone_magic_search_set_search_limit (LinphoneMagicSearch *magic_search, unsigned int limit) |
Set the number of the maximum SearchResult which will be returned. More... | |
bool_t | linphone_magic_search_get_limited_search (const LinphoneMagicSearch *magic_search) |
Return whether or not the search is limited. More... | |
void | linphone_magic_search_set_limited_search (LinphoneMagicSearch *magic_search, bool_t limited) |
Enable or disable the limited search. More... | |
void | linphone_magic_search_reset_search_cache (LinphoneMagicSearch *magic_search) |
Reset the cache to begin a new search. More... | |
bctbx_list_t * | linphone_magic_search_get_contacts_list (LinphoneMagicSearch *magic_search, const char *filter, const char *domain, int sourceFlags, LinphoneMagicSearchAggregation aggregation) |
Create a sorted list of SearchResult which match with a filter word, from SipUri in this order : Contact's display name, address username, address domain and phone number. More... | |
void | linphone_magic_search_get_contacts_list_async (LinphoneMagicSearch *magic_search, const char *filter, const char *domain, int sourceFlags, LinphoneMagicSearchAggregation aggregation) |
This is the asynchronous version of linphone_magic_search_get_contacts(). More... | |
bctbx_list_t * | linphone_magic_search_get_last_search (const LinphoneMagicSearch *magic_search) |
MS2_DEPRECATED bctbx_list_t * | linphone_magic_search_get_contacts (LinphoneMagicSearch *magic_search, const char *filter, const char *domain, int sourceFlags) |
Create a sorted list of SearchResult which match with a filter word, from SipUri in this order : Contact's display name, address username, address domain and phone number. More... | |
MS2_DEPRECATED void | linphone_magic_search_get_contacts_async (LinphoneMagicSearch *magic_search, const char *filter, const char *domain, int sourceFlags) |
This is the asynchronous version of linphone_magic_search_get_contacts(). More... | |
MS2_DEPRECATED bctbx_list_t * | linphone_magic_search_get_contact_list_from_filter (LinphoneMagicSearch *magic_search, const char *filter, const char *domain) |
Create a sorted list of SearchResult from SipUri, Contact name, Contact displayname, Contact phone number, which match with a filter word The last item list will be an address formed with "filter" if a proxy config exist During the first search, a cache is created and used for the next search Use linphone_magic_search_reset_search_cache() to begin a new search. More... | |
MS2_DEPRECATED void | linphone_magic_search_get_contact_list_from_filter_async (LinphoneMagicSearch *magic_search, const char *filter, const char *domain) |
Create a sorted list of SearchResult asynchronous from SipUri, Contact name, Contact displayname, Contact phone number, which match with a filter word The last item list will be an address formed with "filter" if a proxy config exist During the first search, a cache is created and used for the next search Use linphone_magic_search_reset_search_cache() to begin a new search. More... | |
LinphoneMagicSearchCbs * | linphone_magic_search_cbs_new (void) |
LinphoneMagicSearchCbs * | linphone_magic_search_cbs_ref (LinphoneMagicSearchCbs *cbs) |
Acquire a reference to the chat message callbacks object. More... | |
void | linphone_magic_search_cbs_unref (LinphoneMagicSearchCbs *cbs) |
Release reference to the chat message callbacks object. More... | |
void * | linphone_magic_search_cbs_get_user_data (const LinphoneMagicSearchCbs *cbs) |
Retrieve the user pointer associated with the chat message callbacks object. More... | |
void | linphone_magic_search_cbs_set_user_data (LinphoneMagicSearchCbs *cbs, void *user_data) |
Assign a user pointer to the chat message callbacks object. More... | |
LinphoneMagicSearchCbsSearchResultsReceivedCb | linphone_magic_search_cbs_get_search_results_received (const LinphoneMagicSearchCbs *cbs) |
Get the received results callback. More... | |
void | linphone_magic_search_cbs_set_search_results_received (LinphoneMagicSearchCbs *cbs, LinphoneMagicSearchCbsSearchResultsReceivedCb cb) |
Set the received results callback. More... | |
LinphoneMagicSearchCbsLdapHaveMoreResultsCb | linphone_magic_search_cbs_get_ldap_have_more_results (const LinphoneMagicSearchCbs *cbs) |
Get the ldap callback on having more results. More... | |
void | linphone_magic_search_cbs_set_ldap_have_more_results (LinphoneMagicSearchCbs *cbs, LinphoneMagicSearchCbsLdapHaveMoreResultsCb cb) |
Set the ldap callback on having more results. More... | |
LinphoneParticipant * | linphone_participant_ref (LinphoneParticipant *participant) |
Increment reference count of LinphoneParticipant object. More... | |
void | linphone_participant_unref (LinphoneParticipant *participant) |
Decrement reference count of LinphoneParticipant object. More... | |
void * | linphone_participant_get_user_data (const LinphoneParticipant *participant) |
Retrieve the user pointer associated with the conference participant. More... | |
void | linphone_participant_set_user_data (LinphoneParticipant *participant, void *user_data) |
Assign a user pointer to the conference participant. More... | |
const LinphoneAddress * | linphone_participant_get_address (const LinphoneParticipant *participant) |
Get the address of a conference participant. More... | |
bool_t | linphone_participant_is_admin (const LinphoneParticipant *participant) |
Tells whether a conference participant is an administrator of the conference. More... | |
bool_t | linphone_participant_is_focus (const LinphoneParticipant *participant) |
Tells whether a conference participant is the focus of the conference. More... | |
LinphoneChatRoomSecurityLevel | linphone_participant_get_security_level (const LinphoneParticipant *participant) |
Get the security level of a participant. More... | |
bctbx_list_t * | linphone_participant_get_devices (const LinphoneParticipant *participant) |
Gets the list of devices from a chat room's participant. More... | |
LinphoneParticipantDevice * | linphone_participant_find_device_2 (const LinphoneParticipant *participant, const LinphoneCall *call) |
Find a device in the list of devices from a chat room's participant. More... | |
LinphoneParticipantDevice * | linphone_participant_find_device (const LinphoneParticipant *participant, const LinphoneAddress *address) |
Find a device in the list of devices from a chat room's participant. More... | |
time_t | linphone_participant_get_creation_time (const LinphoneParticipant *participant) |
Get the timestamp of the creation of the participant. More... | |
LinphoneParticipantRole | linphone_participant_get_role (const LinphoneParticipant *participant) |
Get the role of the participant within the conference. More... | |
LinphoneParticipantDevice * | linphone_participant_device_ref (LinphoneParticipantDevice *participant_device) |
Increment reference count of LinphoneParticipantDevice object. More... | |
void | linphone_participant_device_unref (LinphoneParticipantDevice *participant_device) |
Decrement reference count of LinphoneParticipantDevice object. More... | |
void * | linphone_participant_device_get_user_data (const LinphoneParticipantDevice *participant_device) |
Retrieve the user pointer associated with the participant's device. More... | |
void | linphone_participant_device_set_user_data (LinphoneParticipantDevice *participant_device, void *user_data) |
Assign a user pointer to the participant's device. More... | |
const LinphoneAddress * | linphone_participant_device_get_address (const LinphoneParticipantDevice *participant_device) |
Get the address of a participant's device. More... | |
LinphoneParticipantDeviceState | linphone_participant_device_get_state (const LinphoneParticipantDevice *participant_device) |
Get the state of a participant device. More... | |
LinphoneChatRoomSecurityLevel | linphone_participant_device_get_security_level (const LinphoneParticipantDevice *participant_device) |
Get the security level of a participant's device. More... | |
const char * | linphone_participant_device_get_name (const LinphoneParticipantDevice *participant_device) |
Return the name of the device or NULL. More... | |
bool_t | linphone_participant_device_is_in_conference (const LinphoneParticipantDevice *participant_device) |
Return whether the participant device is in a conference or not. More... | |
time_t | linphone_participant_device_get_time_of_joining (const LinphoneParticipantDevice *participant_device) |
Get the timestamp the device joined a conference. More... | |
time_t | linphone_participant_device_get_time_of_disconnection (const LinphoneParticipantDevice *participant_device) |
Get the timestamp the device left a conference. More... | |
LinphoneParticipantDeviceJoiningMethod | linphone_participant_device_get_joining_method (const LinphoneParticipantDevice *participant_device) |
Get the joining method or it the device is the focus owner. More... | |
LinphoneParticipantDeviceDisconnectionMethod | linphone_participant_device_get_disconnection_method (const LinphoneParticipantDevice *participant_device) |
Get the disconnection method. More... | |
const char * | linphone_participant_device_get_disconnection_reason (const LinphoneParticipantDevice *participant_device) |
Get the disconnection reason. More... | |
LinphoneMediaDirection | linphone_participant_device_get_stream_capability (const LinphoneParticipantDevice *participant_device, const LinphoneStreamType stream_type) |
Get the stream capability of the device. More... | |
bool_t | linphone_participant_device_get_stream_availability (const LinphoneParticipantDevice *participant_device, const LinphoneStreamType stream_type) |
Get the stream availability of the device. More... | |
uint32_t | linphone_participant_device_get_ssrc (const LinphoneParticipantDevice *participant_device, const LinphoneStreamType stream_type) |
Get the audio stream SSRC of the device. More... | |
void | linphone_participant_device_add_callbacks (LinphoneParticipantDevice *participant_device, LinphoneParticipantDeviceCbs *cbs) |
Add a listener in order to be notified of LinphoneParticipantDevice events. More... | |
void | linphone_participant_device_remove_callbacks (LinphoneParticipantDevice *participant_device, LinphoneParticipantDeviceCbs *cbs) |
Remove a listener from a LinphoneParticipantDevice. More... | |
LinphoneParticipantDeviceCbs * | linphone_participant_device_get_current_callbacks (const LinphoneParticipantDevice *participant_device) |
Gets the current LinphoneParticipantDeviceCbs. More... | |
void | linphone_participant_device_set_native_video_window_id (LinphoneParticipantDevice *participant_device, void *window_id) |
Set window ID for a device. More... | |
void * | linphone_participant_device_get_native_video_window_id (const LinphoneParticipantDevice *participant_device) |
Get window ID. More... | |
void * | linphone_participant_device_create_native_video_window_id (const LinphoneParticipantDevice *participant_device) |
Create a window ID and return it. More... | |
bool_t | linphone_participant_device_get_is_speaking (const LinphoneParticipantDevice *participant_device) |
Return whether the participant device is speaking or not. More... | |
bool_t | linphone_participant_device_get_is_muted (const LinphoneParticipantDevice *participant_device) |
Return whether the participant device is muted or not. More... | |
LinphoneParticipantDeviceIdentity * | linphone_participant_device_identity_new (const LinphoneAddress *address, const char *name) |
Constructs a LinphoneParticipantDeviceIdentity object. More... | |
LinphoneParticipantDeviceIdentity * | linphone_participant_device_identity_ref (LinphoneParticipantDeviceIdentity *device_identity) |
Increment reference count of LinphoneParticipantDeviceIdentity object. More... | |
void | linphone_participant_device_identity_unref (LinphoneParticipantDeviceIdentity *device_identity) |
Decrement reference count of LinphoneParticipantDeviceIdentity object. More... | |
MS2_DEPRECATED void | linphone_participant_device_identity_set_capability_descriptor (LinphoneParticipantDeviceIdentity *device_identity, const char *capability_descriptor) |
Set the capability descriptor (currently +org.linphone.specs value) for this participant device identity. More... | |
void | linphone_participant_device_identity_set_capability_descriptor_2 (LinphoneParticipantDeviceIdentity *device_identity, const bctbx_list_t *capability_descriptor_list) |
Set the capability descriptor (currently +org.linphone.specs value) for this participant device identity. More... | |
MS2_DEPRECATED const char * | linphone_participant_device_identity_get_capability_descriptor (const LinphoneParticipantDeviceIdentity *device_identity) |
Get the capability descriptor (currently +org.linphone.specs value) for this participant device identity. More... | |
const bctbx_list_t * | linphone_participant_device_identity_get_capability_descriptor_list (const LinphoneParticipantDeviceIdentity *device_identity) |
Get the capability descriptor (currently +org.linphone.specs value) for this participant device identity. More... | |
const LinphoneAddress * | linphone_participant_device_identity_get_address (const LinphoneParticipantDeviceIdentity *deviceIdentity) |
Get the address of the participant device. More... | |
LinphoneParticipantImdnState * | linphone_participant_imdn_state_ref (LinphoneParticipantImdnState *state) |
Increment reference count of LinphoneParticipantImdnState object. More... | |
void | linphone_participant_imdn_state_unref (LinphoneParticipantImdnState *state) |
Decrement reference count of LinphoneParticipantImdnState object. More... | |
void * | linphone_participant_imdn_state_get_user_data (const LinphoneParticipantImdnState *state) |
Retrieve the user pointer associated with a LinphoneParticipantImdnState. More... | |
void | linphone_participant_imdn_state_set_user_data (LinphoneParticipantImdnState *state, void *user_data) |
Assign a user pointer to a LinphoneParticipantImdnState. More... | |
const LinphoneParticipant * | linphone_participant_imdn_state_get_participant (const LinphoneParticipantImdnState *state) |
Get the participant concerned by a LinphoneParticipantImdnState. More... | |
LinphoneChatMessageState | linphone_participant_imdn_state_get_state (const LinphoneParticipantImdnState *state) |
Get the chat message state the participant is in. More... | |
time_t | linphone_participant_imdn_state_get_state_change_time (const LinphoneParticipantImdnState *state) |
Get the timestamp at which a participant has reached the state described by a LinphoneParticipantImdnState. More... | |
LinphonePushNotificationMessage * | linphone_push_notification_message_new (const char *call_id, bool_t is_text, const char *text_content, const char *subject, const char *from_addr, const char *local_addr, const char *peer_addr, bool_t is_icalendar) |
Safely cast a belle_sip_object_t into LinphonePushNotificationMessage. | |
LinphonePushNotificationMessage * | linphone_push_notification_message_ref (LinphonePushNotificationMessage *message) |
Take a reference on a LinphonePushNotificationMessage. More... | |
void | linphone_push_notification_message_unref (LinphonePushNotificationMessage *message) |
Release a LinphonePushNotificationMessage. More... | |
const char * | linphone_push_notification_message_get_call_id (const LinphonePushNotificationMessage *message) |
Gets the call id. More... | |
bool_t | linphone_push_notification_message_is_text (const LinphonePushNotificationMessage *message) |
Returns wether it is a text message or not. More... | |
const char * | linphone_push_notification_message_get_text_content (const LinphonePushNotificationMessage *message) |
Gets the text content. More... | |
const char * | linphone_push_notification_message_get_subject (const LinphonePushNotificationMessage *message) |
Gets the subject. More... | |
const LinphoneAddress * | linphone_push_notification_message_get_from_addr (const LinphonePushNotificationMessage *message) |
Gets the from address. More... | |
const LinphoneAddress * | linphone_push_notification_message_get_local_addr (const LinphonePushNotificationMessage *message) |
Gets the local address. More... | |
const LinphoneAddress * | linphone_push_notification_message_get_peer_addr (const LinphonePushNotificationMessage *message) |
Gets the peer address. More... | |
const char * | linphone_push_notification_message_get_reaction_content (const LinphonePushNotificationMessage *message) |
Gets the reaction content. More... | |
bool_t | linphone_push_notification_message_is_icalendar (const LinphonePushNotificationMessage *message) |
Tells whether or not this message contains an icalendar by checking it's content type. More... | |
bool_t | linphone_push_notification_message_is_conference_invitation_new (const LinphonePushNotificationMessage *message) |
Tells whether or not this message contains a new conference invitation. More... | |
bool_t | linphone_push_notification_message_is_conference_invitation_update (const LinphonePushNotificationMessage *message) |
Tells whether or not this message contains a conference invitation update. More... | |
bool_t | linphone_push_notification_message_is_conference_invitation_cancellation (const LinphonePushNotificationMessage *message) |
Tells whether or not this message contains a conference invitation cancellation. More... | |
LinphonePushNotificationConfig * | linphone_push_notification_config_new (void) |
Safely cast a belle_sip_object_t into LinphonePushNotificationMessage. | |
LinphonePushNotificationConfig * | linphone_push_notification_config_clone (const LinphonePushNotificationConfig *push_cfg) |
Instantiate a new push notification parameters with values from source. More... | |
bool_t | linphone_push_notification_config_is_equal (const LinphonePushNotificationConfig *push_cfg, const LinphonePushNotificationConfig *other_config) |
Checks if two Push Notification Configurations are identical. More... | |
LinphonePushNotificationConfig * | linphone_push_notification_config_ref (LinphonePushNotificationConfig *push_cfg) |
Take a reference on a LinphonePushNotificationConfig. More... | |
void | linphone_push_notification_config_unref (LinphonePushNotificationConfig *push_cfg) |
Release a LinphonePushNotificationConfig. More... | |
const char * | linphone_push_notification_config_get_provider (const LinphonePushNotificationConfig *push_cfg) |
Gets the provider for "contact uri parameter". More... | |
void | linphone_push_notification_config_set_provider (LinphonePushNotificationConfig *push_cfg, const char *provider) |
Sets the provider for "contact uri parameter". More... | |
void | linphone_push_notification_config_set_remote_push_interval (LinphonePushNotificationConfig *push_cfg, const char *remote_push_interval) |
Specifies the interval in seconds between to subsequent remote push notifications when remote push notifications are used to notify a call invite to clients that haven't published any token for VoIP and background push notifications. More... | |
const char * | linphone_push_notification_config_get_team_id (const LinphonePushNotificationConfig *push_cfg) |
Gets the team id for "contact uri parameter". More... | |
void | linphone_push_notification_config_set_team_id (LinphonePushNotificationConfig *push_cfg, const char *team_id) |
Sets the team id for "contact uri parameter". More... | |
const char * | linphone_push_notification_config_get_msg_str (const LinphonePushNotificationConfig *push_cfg) |
Gets the msg_str for "contact uri parameter". More... | |
void | linphone_push_notification_config_set_msg_str (LinphonePushNotificationConfig *push_cfg, const char *msg_str) |
Sets the msg_str for "contact uri parameter", specific for remote push notification. More... | |
const char * | linphone_push_notification_config_get_call_str (const LinphonePushNotificationConfig *push_cfg) |
Gets the call_str for "contact uri parameter". More... | |
void | linphone_push_notification_config_set_call_str (LinphonePushNotificationConfig *push_cfg, const char *call_str) |
Sets the call_str for "contact uri parameter", specific for remote push notification. More... | |
const char * | linphone_push_notification_config_get_group_chat_str (const LinphonePushNotificationConfig *push_cfg) |
Gets the groupchat_str for "contact uri parameter". More... | |
void | linphone_push_notification_config_set_group_chat_str (LinphonePushNotificationConfig *push_cfg, const char *group_chat_str) |
Sets the group_chat_str for "contact uri parameter", specific for remote push notification. More... | |
const char * | linphone_push_notification_config_get_call_snd (const LinphonePushNotificationConfig *push_cfg) |
Gets the call_snd for "contact uri parameter". More... | |
void | linphone_push_notification_config_set_call_snd (LinphonePushNotificationConfig *push_cfg, const char *call_snd) |
Sets the call_snd for "contact uri parameter", specific for remote push notification. More... | |
const char * | linphone_push_notification_config_get_msg_snd (const LinphonePushNotificationConfig *push_cfg) |
Gets the msg_snd for "contact uri parameter". More... | |
void | linphone_push_notification_config_set_msg_snd (LinphonePushNotificationConfig *push_cfg, const char *msg_snd) |
Sets the msg_snd for "contact uri parameter", specific for remote push notification. More... | |
const char * | linphone_push_notification_config_get_bundle_identifier (const LinphonePushNotificationConfig *push_cfg) |
Gets the app's bundle identifier for "contact uri parameter". More... | |
void | linphone_push_notification_config_set_bundle_identifier (LinphonePushNotificationConfig *push_cfg, const char *bundle_identifier) |
Sets the bundle_identifier for "contact uri parameter". More... | |
const char * | linphone_push_notification_config_get_voip_token (const LinphonePushNotificationConfig *push_cfg) |
Gets the voip token for "contact uri parameter". More... | |
void | linphone_push_notification_config_set_voip_token (LinphonePushNotificationConfig *push_cfg, const char *voip_token) |
Sets the voip_token for "contact uri parameter", specific for voip push notification. More... | |
const char * | linphone_push_notification_config_get_remote_token (const LinphonePushNotificationConfig *push_cfg) |
Gets the remote token for "contact uri parameter". More... | |
void | linphone_push_notification_config_set_remote_token (LinphonePushNotificationConfig *push_cfg, const char *remote_token) |
Sets the remote_token for "contact uri parameter", specific for remote push notification. More... | |
const char * | linphone_push_notification_config_get_param (const LinphonePushNotificationConfig *push_cfg) |
Gets the param for "contact uri parameter". More... | |
void | linphone_push_notification_config_set_param (LinphonePushNotificationConfig *push_cfg, const char *param) |
Sets the param for "contact uri parameter". More... | |
const char * | linphone_push_notification_config_get_prid (const LinphonePushNotificationConfig *push_cfg) |
Gets the prid for "contact uri parameter". More... | |
void | linphone_push_notification_config_set_prid (LinphonePushNotificationConfig *push_cfg, const char *prid) |
Sets the prid for "contact uri parameter". More... | |
LinphoneSearchResult * | linphone_search_result_ref (LinphoneSearchResult *search_result) |
Increment reference count of LinphoneSearchResult object. More... | |
void | linphone_search_result_unref (LinphoneSearchResult *search_result) |
Decrement reference count of LinphoneSearchResult object. More... | |
LinphoneFriend * | linphone_search_result_get_friend (const LinphoneSearchResult *search_result) |
Gets the friend of the search result if any. More... | |
const LinphoneAddress * | linphone_search_result_get_address (const LinphoneSearchResult *search_result) |
Gets the address of the search result if any. More... | |
const char * | linphone_search_result_get_phone_number (const LinphoneSearchResult *search_result) |
Gets the phone number of the search result if any. More... | |
int | linphone_search_result_get_capabilities (const LinphoneSearchResult *search_result) |
Returns the capabilities mask of the search result. More... | |
bool_t | linphone_search_result_has_capability (const LinphoneSearchResult *search_result, const LinphoneFriendCapability capability) |
Returns whether or not the search result has the given capability. More... | |
unsigned int | linphone_search_result_get_weight (const LinphoneSearchResult *search_result) |
Gets the weight of the search result. More... | |
int | linphone_search_result_get_source_flags (const LinphoneSearchResult *search_result) |
Gets source flags of the search result. More... | |
Miscenalleous: logs, version strings, config storage.
typedef struct _LinphoneContent LinphoneContent |
This object holds data that can be embedded in a signaling message.
Use linphone_core_create_content() to create it, and then you should set at least it's type and subtype and fill the buffer with your data.
A LinphoneContent can be multipart (contain other contents), have file information (name, path, size), be encrypted, have custom headers, etc...
It is mainly used to send information through a LinphoneChatMessage.
typedef void(* LinphoneCoreCbsChatRoomExhumedCb) (LinphoneCore *core, LinphoneChatRoom *chat_room) |
Callback used to notify a chat room has been exhumed.
Internal use only!
core | LinphoneCore object |
chat_room | LinphoneChatRoom object |
typedef void(* LinphoneCoreCbsEcCalibrationAudioInitCb) (LinphoneCore *core) |
Function prototype used by linphone_core_cbs_set_ec_calibration_audio_init().
core | The LinphoneCore. |
typedef void(* LinphoneCoreCbsEcCalibrationAudioUninitCb) (LinphoneCore *core) |
Function prototype used by linphone_core_cbs_set_ec_calibration_audio_uninit().
core | The LinphoneCore. |
typedef void(* LinphoneCoreCbsEcCalibrationResultCb) (LinphoneCore *core, LinphoneEcCalibratorStatus status, int delay_ms) |
Function prototype used by linphone_core_cbs_set_ec_calibration_result().
core | The LinphoneCore. |
status | The LinphoneEcCalibratorStatus of the calibrator. |
delay_ms | The measured delay if available. |
typedef struct _LinphoneErrorInfo LinphoneErrorInfo |
Object representing full details about a signaling error or status.
All LinphoneErrorInfo object returned by the liblinphone API are readonly and transcients. For safety they must be used immediately after obtaining them. Any other function call to the liblinphone may change their content or invalidate the pointer.
typedef struct _LinphoneHeaders LinphoneHeaders |
Object representing a chain of protocol headers.
It provides read/write access to the headers of the underlying protocol.
typedef struct _LinphoneImEncryptionEngine LinphoneImEncryptionEngine |
IM encryption engine.
typedef struct _LinphoneImEncryptionEngineCbs LinphoneImEncryptionEngineCbs |
An object to handle the callbacks for the handling a LinphoneImEncryptionEngine object.
typedef int(* LinphoneImEncryptionEngineCbsDownloadingFileCb) (LinphoneImEncryptionEngine *engine, LinphoneChatMessage *message, size_t offset, const uint8_t *buffer, size_t size, uint8_t *decrypted_buffer) |
Callback to decrypt downloading file.
engine | LinphoneImEncryptionEngine object | |
message | LinphoneChatMessage object | |
offset | The current offset of the upload | |
buffer | Encrypted data buffer | |
size | Size of the encrypted data buffer and maximum size of the decrypted data buffer | |
[out] | decrypted_buffer | Buffer in which to write the decrypted data which maximum size is size |
typedef void(* LinphoneImEncryptionEngineCbsGenerateFileTransferKeyCb) (LinphoneImEncryptionEngine *engine, LinphoneChatRoom *chat_room, LinphoneChatMessage *message) |
Callback to generate the key used to encrypt the files before uploading them Key can be stored in the LinphoneContent object inside the LinphoneChatMessage using linphone_content_set_key.
engine | LinphoneImEncryptionEngine object |
chat_room | LinphoneChatRoom object |
message | LinphoneChatMessage object |
typedef int(* LinphoneImEncryptionEngineCbsIncomingMessageCb) (LinphoneImEncryptionEngine *engine, LinphoneChatRoom *chat_room, LinphoneChatMessage *message) |
Callback to decrypt incoming LinphoneChatMessage.
engine | The LinphoneImEncryptionEngine object |
chat_room | LinphoneChatRoom object |
message | LinphoneChatMessage object |
typedef bool_t(* LinphoneImEncryptionEngineCbsIsEncryptionEnabledForFileTransferCb) (LinphoneImEncryptionEngine *engine, LinphoneChatRoom *chat_room) |
Callback to know whether or not the engine will encrypt files before uploading them.
engine | LinphoneImEncryptionEngine object |
chat_room | LinphoneChatRoom object |
typedef int(* LinphoneImEncryptionEngineCbsOutgoingMessageCb) (LinphoneImEncryptionEngine *engine, LinphoneChatRoom *chat_room, LinphoneChatMessage *message) |
Callback to encrypt outgoing LinphoneChatMessage.
engine | LinphoneImEncryptionEngine object |
chat_room | LinphoneChatRoom object |
message | LinphoneChatMessage object |
typedef int(* LinphoneImEncryptionEngineCbsUploadingFileCb) (LinphoneImEncryptionEngine *engine, LinphoneChatMessage *message, size_t offset, const uint8_t *buffer, size_t *size, uint8_t *encrypted_buffer) |
Callback to encrypt uploading file.
engine | LinphoneImEncryptionEngine object | |
message | LinphoneChatMessage object | |
offset | The current offset of the upload | |
buffer | Encrypted data buffer | |
[in,out] | size | Size of the plain data buffer and the size of the encrypted data buffer once encryption is done |
[out] | encrypted_buffer | Buffer in which to write the encrypted data which maxmimum size is size |
typedef void(* LinphoneMagicSearchCbsLdapHaveMoreResultsCb) (LinphoneMagicSearch *magic_search, LinphoneLdap *ldap) |
Callback used to notify when LDAP have more results available.
magic_search | LinphoneMagicSearch object |
ldap | LinphoneLdap object |
typedef void(* LinphoneMagicSearchCbsSearchResultsReceivedCb) (LinphoneMagicSearch *magic_search) |
Callback used to notify when results are received.
magic_search | LinphoneMagicSearch object |
typedef struct _LinphonePushNotificationMessage LinphonePushNotificationMessage |
Object holding chat message data received by a push notification on iOS platform only.
This object is a subset of LinphoneChatMessage, so only a few methods of it's parent are available, like linphone_push_notification_message_get_text_content() and linphone_push_notification_message_get_subject(), just enough to be able to build a notification to show the user.
typedef enum _LinphoneReason LinphoneReason |
Enum describing various failure reasons or contextual information for some events.
typedef void(* LinphoneXmlRpcRequestCbsResponseCb) (LinphoneXmlRpcRequest *request) |
Callback used to notify the response to an XML-RPC request.
request | LinphoneXmlRpcRequest object |
enum _LinphoneReason |
Enum describing various failure reasons or contextual information for some events.
enum _LinphoneToneID |
Enum listing frequent telephony tones.
const uint8_t* linphone_buffer_get_content | ( | const LinphoneBuffer * | buffer | ) |
Get the content of the data buffer.
buffer | LinphoneBuffer object. |
size_t linphone_buffer_get_size | ( | const LinphoneBuffer * | buffer | ) |
Get the size of the content of the data buffer.
buffer | LinphoneBuffer object. |
const char* linphone_buffer_get_string_content | ( | const LinphoneBuffer * | buffer | ) |
Get the string content of the data buffer.
buffer | LinphoneBuffer object |
void* linphone_buffer_get_user_data | ( | const LinphoneBuffer * | buffer | ) |
Retrieve the user pointer associated with the buffer.
buffer | LinphoneBuffer object. |
bool_t linphone_buffer_is_empty | ( | const LinphoneBuffer * | buffer | ) |
Tell whether the LinphoneBuffer is empty.
buffer | LinphoneBuffer object |
LinphoneBuffer* linphone_buffer_new | ( | void | ) |
Create a new empty LinphoneBuffer object.
LinphoneBuffer* linphone_buffer_new_from_data | ( | const uint8_t * | data, |
size_t | size | ||
) |
Create a new LinphoneBuffer object from existing data.
data | The initial data to store in the LinphoneBuffer. |
size | The size of the initial data to stroe in the LinphoneBuffer. |
LinphoneBuffer* linphone_buffer_new_from_string | ( | const char * | data | ) |
Create a new LinphoneBuffer object from a string.
data | The initial string content of the LinphoneBuffer. |
LinphoneBuffer* linphone_buffer_ref | ( | LinphoneBuffer * | buffer | ) |
Acquire a reference to the buffer.
buffer | LinphoneBuffer object. |
void linphone_buffer_set_content | ( | LinphoneBuffer * | buffer, |
const uint8_t * | content, | ||
size_t | size | ||
) |
Set the content of the data buffer.
buffer | LinphoneBuffer object. |
content | The content of the data buffer. |
size | The size of the content of the data buffer. |
void linphone_buffer_set_size | ( | LinphoneBuffer * | buffer, |
size_t | size | ||
) |
Set the size of the content of the data buffer.
buffer | LinphoneBuffer object |
size | The size of the content of the data buffer. |
void linphone_buffer_set_string_content | ( | LinphoneBuffer * | buffer, |
const char * | content | ||
) |
Set the string content of the data buffer.
buffer | LinphoneBuffer object. |
content | The string content of the data buffer. |
void linphone_buffer_set_user_data | ( | LinphoneBuffer * | buffer, |
void * | user_data | ||
) |
Assign a user pointer to the buffer.
buffer | LinphoneBuffer object. |
user_data | The user pointer to associate with the buffer. |
void linphone_buffer_unref | ( | LinphoneBuffer * | buffer | ) |
Release reference to the buffer.
buffer | LinphoneBuffer object. |
void* linphone_call_stats_get_user_data | ( | const LinphoneCallStats * | stats | ) |
Gets the user data in the LinphoneCallStats object.
[in] | stats | the LinphoneCallStats |
LinphoneCallStats* linphone_call_stats_ref | ( | LinphoneCallStats * | stats | ) |
Increment refcount.
stats | LinphoneCallStats object |
void linphone_call_stats_set_user_data | ( | LinphoneCallStats * | stats, |
void * | data | ||
) |
Sets the user data in the LinphoneCallStats object.
[in] | stats | the LinphoneCallStats object |
[in] | data | the user data. |
void linphone_call_stats_unref | ( | LinphoneCallStats * | stats | ) |
Decrement refcount and possibly free the object.
stats | LinphoneCallStats object |
void linphone_config_clean_entry | ( | LinphoneConfig * | config, |
const char * | section, | ||
const char * | key | ||
) |
Removes entries for key,value in a section.
config | The LinphoneConfig object |
section | the section for which to clean the key entry |
key | the key to clean |
void linphone_config_clean_section | ( | LinphoneConfig * | config, |
const char * | section | ||
) |
Removes every pair of key,value in a section and remove the section.
config | The LinphoneConfig object |
section | the section to clean |
char* linphone_config_dump | ( | const LinphoneConfig * | config | ) |
Dumps the LinphoneConfig as INI into a buffer.
config | The LinphoneConfig object |
char* linphone_config_dump_as_xml | ( | const LinphoneConfig * | config | ) |
Dumps the LinphoneConfig as XML into a buffer.
config | The LinphoneConfig object |
void linphone_config_for_each_entry | ( | const LinphoneConfig * | config, |
const char * | section, | ||
void(*)(const char *entry, void *ctx) | callback, | ||
void * | ctx | ||
) |
Call a function for each entry present in a section configuration.
void linphone_config_for_each_section | ( | const LinphoneConfig * | config, |
void(*)(const char *section, void *ctx) | callback, | ||
void * | ctx | ||
) |
Call a function for each section present in the configuration.
bool_t linphone_config_get_bool | ( | const LinphoneConfig * | config, |
const char * | section, | ||
const char * | key, | ||
bool_t | default_value | ||
) |
Retrieves a configuration item as a boolean, given its section, key, and default value.
The default boolean value is returned if the config item isn't found.
config | The LinphoneConfig object |
section | The section from which to retrieve a configuration item |
key | The name of the configuration item to retrieve |
default_value | The default value to return if not found |
float linphone_config_get_default_float | ( | const LinphoneConfig * | config, |
const char * | section, | ||
const char * | key, | ||
float | default_value | ||
) |
Retrieves a default configuration item as a float, given its section, key, and default value.
The default float value is returned if the config item isn't found.
config | The LinphoneConfig object |
section | The section from which to retrieve the default value |
key | The name of the configuration item to retrieve |
default_value | The default value to return if not found |
int linphone_config_get_default_int | ( | const LinphoneConfig * | config, |
const char * | section, | ||
const char * | key, | ||
int | default_value | ||
) |
Retrieves a default configuration item as an integer, given its section, key, and default value.
The default integer value is returned if the config item isn't found.
config | The LinphoneConfig object |
section | The section from which to retrieve the default value |
key | The name of the configuration item to retrieve |
default_value | The default value to return if not found |
int64_t linphone_config_get_default_int64 | ( | const LinphoneConfig * | config, |
const char * | section, | ||
const char * | key, | ||
int64_t | default_value | ||
) |
Retrieves a default configuration item as a 64 bit integer, given its section, key, and default value.
The default integer value is returned if the config item isn't found.
config | The LinphoneConfig object |
section | The section from which to retrieve the default value |
key | The name of the configuration item to retrieve |
default_value | The default value to return if not found |
const char* linphone_config_get_default_string | ( | const LinphoneConfig * | config, |
const char * | section, | ||
const char * | key, | ||
const char * | default_value | ||
) |
Retrieves a default configuration item as a string, given its section, key, and default value.
The default value string is returned if the config item isn't found.
config | The LinphoneConfig object |
section | The section from which to retrieve the default value |
key | The name of the configuration item to retrieve |
default_value | The default value to return if not found |
const char* linphone_config_get_factory_filename | ( | const LinphoneConfig * | config | ) |
Returns the filename that was used as the factory config.
config | the LinphoneConfig object. |
const char* linphone_config_get_filename | ( | const LinphoneConfig * | config | ) |
Returns the filename used to store the user config.
config | the LinphoneConfig object. |
float linphone_config_get_float | ( | const LinphoneConfig * | config, |
const char * | section, | ||
const char * | key, | ||
float | default_value | ||
) |
Retrieves a configuration item as a float, given its section, key, and default value.
The default float value is returned if the config item isn't found.
config | The LinphoneConfig object |
section | The section from which to retrieve a configuration item |
key | The name of the configuration item to retrieve |
default_value | The default value to return if not found |
int linphone_config_get_int | ( | const LinphoneConfig * | config, |
const char * | section, | ||
const char * | key, | ||
int | default_value | ||
) |
Retrieves a configuration item as an integer, given its section, key, and default value.
The default integer value is returned if the config item isn't found.
config | The LinphoneConfig object |
section | The section from which to retrieve a configuration item |
key | The name of the configuration item to retrieve |
default_value | The default value to return if not found |
int64_t linphone_config_get_int64 | ( | const LinphoneConfig * | config, |
const char * | section, | ||
const char * | key, | ||
int64_t | default_value | ||
) |
Retrieves a configuration item as a 64 bit integer, given its section, key, and default value.
The default integer value is returned if the config item isn't found.
config | The LinphoneConfig object |
section | The section from which to retrieve a configuration item |
key | The name of the configuration item to retrieve |
default_value | The default value to return if not found |
bctbx_list_t* linphone_config_get_keys_names_list | ( | LinphoneConfig * | config, |
const char * | section | ||
) |
Returns the list of keys' names for a section in the LinphoneConfig.
config | The LinphoneConfig object |
section | The section name |
bool_t linphone_config_get_overwrite_flag_for_entry | ( | const LinphoneConfig * | config, |
const char * | section, | ||
const char * | key | ||
) |
Retrieves the overwrite flag for a config item.
config | The LinphoneConfig object |
section | The section from which to retrieve the overwrite flag |
key | The name of the configuration item to retrieve the overwrite flag from. |
bool_t linphone_config_get_overwrite_flag_for_section | ( | const LinphoneConfig * | config, |
const char * | section | ||
) |
Retrieves the overwrite flag for a config section.
config | The LinphoneConfig object |
section | The section from which to retrieve the overwrite flag |
bool_t linphone_config_get_range | ( | const LinphoneConfig * | config, |
const char * | section, | ||
const char * | key, | ||
int * | min, | ||
int * | max, | ||
int | default_min, | ||
int | default_max | ||
) |
Retrieves a configuration item as a range, given its section, key, and default min and max values.
config | The LinphoneConfig object | |
section | The section from which to retrieve a configuration item | |
key | The name of the configuration item to retrieve | |
[out] | min | The min value found or default_min |
[out] | max | The max value found or default_max |
default_min | the default min value to return if not found | |
default_max | the default max value to return if not found. |
const char* linphone_config_get_section_param_string | ( | const LinphoneConfig * | config, |
const char * | section, | ||
const char * | key, | ||
const char * | default_value | ||
) |
Retrieves a section parameter item as a string, given its section and key.
The default value string is returned if the config item isn't found.
config | The LinphoneConfig object |
section | The section from which to retrieve the default value |
key | The name of the configuration item to retrieve |
default_value | The default value to return if not found. |
const char** linphone_config_get_sections_names | ( | LinphoneConfig * | config | ) |
Returns the list of sections' names in the LinphoneConfig.
config | The LinphoneConfig object |
bctbx_list_t* linphone_config_get_sections_names_list | ( | LinphoneConfig * | config | ) |
Returns the list of sections' names in the LinphoneConfig.
config | The LinphoneConfig object |
bool_t linphone_config_get_skip_flag_for_entry | ( | const LinphoneConfig * | config, |
const char * | section, | ||
const char * | key | ||
) |
Retrieves the skip flag for a config item.
config | The LinphoneConfig object |
section | The section from which to retrieve the skip flag |
key | The name of the configuration item to retrieve the skip flag from |
bool_t linphone_config_get_skip_flag_for_section | ( | const LinphoneConfig * | config, |
const char * | section | ||
) |
Retrieves the skip flag for a config section.
config | The LinphoneConfig object |
section | The section from which to retrieve the skip flag |
const char* linphone_config_get_string | ( | const LinphoneConfig * | config, |
const char * | section, | ||
const char * | key, | ||
const char * | default_string | ||
) |
Retrieves a configuration item as a string, given its section, key, and default value.
The default value string is returned if the config item isn't found.
config | The LinphoneConfig object |
section | The section from which to retrieve a configuration item |
key | The name of the configuration item to retrieve |
default_string | The default value to return if not found. |
bctbx_list_t* linphone_config_get_string_list | ( | const LinphoneConfig * | config, |
const char * | section, | ||
const char * | key, | ||
bctbx_list_t * | default_list | ||
) |
Retrieves a configuration item as a list of strings, given its section, key, and default value.
The default value is returned if the config item is not found.
config | A LinphoneConfig object |
section | The section from which to retrieve a configuration item |
key | The name of the configuration item to retrieve |
default_list | The list to return when the key doesn't exist. |
const char* linphone_config_get_temporary_filename | ( | const LinphoneConfig * | config | ) |
Returns the temporary filename used to store the user config.
config | the LinphoneConfig object. |
int linphone_config_has_entry | ( | const LinphoneConfig * | config, |
const char * | section, | ||
const char * | key | ||
) |
Returns if a given section with a given key is present in the configuration.
config | The LinphoneConfig object |
section | to check if the given entry exists |
key | to check if it exists |
int linphone_config_has_section | ( | const LinphoneConfig * | config, |
const char * | section | ||
) |
Returns if a given section is present in the configuration.
config | The LinphoneConfig object |
section | the section to check if exists |
bool_t linphone_config_is_readonly | ( | const LinphoneConfig * | config | ) |
Indicates whether the LinphoneConfig object is readonly, in other words it has no file backend or file is opened without write permission.
config | the LinphoneConfig object |
void linphone_config_load_dict_to_section | ( | LinphoneConfig * | config, |
const char * | section, | ||
const LinphoneDictionary * | dict | ||
) |
Loads a dictionary into a section of the LinphoneConfig.
If the section doesn't exist it is created. Overwrites existing keys, creates non-existing keys.
config | The LinphoneConfig object |
section | The section to dump as dictionary |
dict | the dictionnary to load into the section LinphoneDictionary can't be wrapped |
const char* linphone_config_load_from_xml_file | ( | LinphoneConfig * | config, |
const char * | filename | ||
) |
Reads a xml config file and fill the LinphoneConfig with the read config dynamic values.
config | The LinphoneConfig object to fill with the content of the file |
filename | The filename of the config file to read to fill the LinphoneConfig |
LinphoneStatus linphone_config_load_from_xml_string | ( | LinphoneConfig * | config, |
const char * | buffer | ||
) |
Reads a xml config string and fill the LinphoneConfig with the read config dynamic values.
config | The LinphoneConfig object to fill with the content of the file |
buffer | The string of the config file to fill the LinphoneConfig |
LinphoneConfig* linphone_config_new | ( | const char * | filename | ) |
Instantiates a LinphoneConfig object from a user config file.
The caller of this constructor owns a reference. linphone_config_unref() must be called when this object is no longer needed.
filename | the filename of the config file to read to fill the instantiated LinphoneConfig |
LinphoneConfig* linphone_config_new_for_shared_core | ( | const char * | app_group_id, |
const char * | config_filename, | ||
const char * | factory_config_filename | ||
) |
Instantiates a LinphoneConfig object from a user config file name, group id and a factory config file.
The "group id" is the string that identify the "App group" capability of the iOS application. App group gives access to a shared file system where all the configuration files for shared core are stored. Both iOS application and iOS app extension that need shared core must activate the "App group" capability with the SAME "group id" in the project settings. The caller of this constructor owns a reference. linphone_config_unref() must be called when this object is no longer needed.
app_group_id | used to compute the path of the config file in the file system shared by the shared Cores |
config_filename | the filename of the user config file to read to fill the instantiated LinphoneConfig |
factory_config_filename | the filename of the factory config file to read to fill the instantiated LinphoneConfig |
The user config file is read first to fill the LinphoneConfig and then the factory config file is read. Therefore the configuration parameters defined in the user config file will be overwritten by the parameters defined in the factory config file.
LinphoneConfig* linphone_config_new_from_buffer | ( | const char * | buffer | ) |
Instantiates a LinphoneConfig object from a user provided buffer.
The caller of this constructor owns a reference. linphone_config_unref() must be called when this object is no longer needed.
buffer | the buffer from which the LinphoneConfig will be retrieved. We expect the buffer to be null-terminated. |
LinphoneConfig* linphone_config_new_with_factory | ( | const char * | config_filename, |
const char * | factory_config_filename | ||
) |
Instantiates a LinphoneConfig object from a user config file and a factory config file.
The caller of this constructor owns a reference. linphone_config_unref() must be called when this object is no longer needed.
config_filename | the filename of the user config file to read to fill the instantiated LinphoneConfig |
factory_config_filename | the filename of the factory config file to read to fill the instantiated LinphoneConfig |
The user config file is read first to fill the LinphoneConfig and then the factory config file is read. Therefore the configuration parameters defined in the user config file will be overwritten by the parameters defined in the factory config file.
LinphoneStatus linphone_config_read_file | ( | LinphoneConfig * | config, |
const char * | filename | ||
) |
Reads a user config file and fill the LinphoneConfig with the read config values.
config | The LinphoneConfig object to fill with the content of the file |
filename | The filename of the config file to read to fill the LinphoneConfig |
LinphoneStatus linphone_config_read_relative_file | ( | const LinphoneConfig * | config, |
const char * | filename, | ||
char * | data, | ||
size_t | max_length | ||
) |
Read a string from a file placed beside the Linphone configuration file.
config | LinphoneConfig instance used as a reference |
filename | Name of the file where data will be read from. The name is relative to the place of the config file |
data | Buffer where read string will be stored |
max_length | Length of the buffer |
LinphoneConfig* linphone_config_ref | ( | LinphoneConfig * | config | ) |
increment reference count
config | The LinphoneConfig object |
bool_t linphone_config_relative_file_exists | ( | const LinphoneConfig * | config, |
const char * | filename | ||
) |
Check if given file name exists relatively to the current location.
config | The LinphoneConfig object |
filename | The file name to check if exists |
void linphone_config_reload | ( | LinphoneConfig * | config | ) |
Reload the config from the file.
config | The LinphoneConfig object |
LinphoneDictionary* linphone_config_section_to_dict | ( | const LinphoneConfig * | config, |
const char * | section | ||
) |
Converts a config section into a dictionary.
config | The LinphoneConfig object |
section | The section to dump as dictionary |
void linphone_config_set_bool | ( | LinphoneConfig * | config, |
const char * | section, | ||
const char * | key, | ||
bool_t | value | ||
) |
Sets a boolean config item.
config | The LinphoneConfig object |
section | The section from which to retrieve a configuration item |
key | The name of the configuration item to retrieve |
value | the value to set |
void linphone_config_set_float | ( | LinphoneConfig * | config, |
const char * | section, | ||
const char * | key, | ||
float | value | ||
) |
Sets a float config item.
config | The LinphoneConfig object |
section | The section from which to retrieve a configuration item |
key | The name of the configuration item to retrieve |
value | the value to set |
void linphone_config_set_int | ( | LinphoneConfig * | config, |
const char * | section, | ||
const char * | key, | ||
int | value | ||
) |
Sets an integer config item.
config | The LinphoneConfig object |
section | The section from which to retrieve a configuration item |
key | The name of the configuration item to retrieve |
value | the value to set |
void linphone_config_set_int64 | ( | LinphoneConfig * | config, |
const char * | section, | ||
const char * | key, | ||
int64_t | value | ||
) |
Sets a 64 bits integer config item.
config | The LinphoneConfig object |
section | The section from which to retrieve a configuration item |
key | The name of the configuration item to retrieve |
value | the value to set |
void linphone_config_set_int_hex | ( | LinphoneConfig * | config, |
const char * | section, | ||
const char * | key, | ||
int | value | ||
) |
Sets an integer config item, but store it as hexadecimal.
config | The LinphoneConfig object |
section | The section from which to retrieve a configuration item |
key | The name of the configuration item to retrieve |
value | the value to set |
void linphone_config_set_overwrite_flag_for_entry | ( | LinphoneConfig * | config, |
const char * | section, | ||
const char * | key, | ||
bool_t | value | ||
) |
Sets the overwrite flag for a config item (used when dumping config as xml)
config | The LinphoneConfig object |
section | The section from which to set the overwrite flag |
key | The name of the configuration item to set the overwrite flag from |
value | The overwrite flag value to set |
void linphone_config_set_overwrite_flag_for_section | ( | LinphoneConfig * | config, |
const char * | section, | ||
bool_t | value | ||
) |
Sets the overwrite flag for a config section (used when dumping config as xml)
config | The LinphoneConfig object |
section | The section from which to set the overwrite flag |
value | The overwrite flag value to set |
void linphone_config_set_range | ( | LinphoneConfig * | config, |
const char * | section, | ||
const char * | key, | ||
int | min_value, | ||
int | max_value | ||
) |
Sets a range config item.
config | The LinphoneConfig object |
section | The section from which to retrieve a configuration item |
key | The name of the configuration item to retrieve |
min_value | the min value to set |
max_value | the max value to set |
void linphone_config_set_skip_flag_for_entry | ( | LinphoneConfig * | config, |
const char * | section, | ||
const char * | key, | ||
bool_t | value | ||
) |
Sets the skip flag for a config item (used when dumping config as xml)
config | The LinphoneConfig object |
section | The section from which to set the skip flag |
key | The name of the configuration item to set the skip flag from |
value | The skip flag value to set |
void linphone_config_set_skip_flag_for_section | ( | LinphoneConfig * | config, |
const char * | section, | ||
bool_t | value | ||
) |
Sets the skip flag for a config section (used when dumping config as xml)
config | The LinphoneConfig object |
section | The section from which to set the skip flag |
value | The skip flag value to set |
void linphone_config_set_string | ( | LinphoneConfig * | config, |
const char * | section, | ||
const char * | key, | ||
const char * | value | ||
) |
Sets a string config item.
config | The LinphoneConfig object |
section | The section from which to retrieve a configuration item |
key | The name of the configuration item to retrieve |
value | The value to set |
void linphone_config_set_string_list | ( | LinphoneConfig * | config, |
const char * | section, | ||
const char * | key, | ||
const bctbx_list_t * | value | ||
) |
Sets a string list config item.
config | A LinphoneConfig object |
section | The name of the section to put the configuration item into |
key | The name of the configuration item to set |
value | The value to set. |
LinphoneStatus linphone_config_sync | ( | LinphoneConfig * | config | ) |
Writes the config file to disk.
config | The LinphoneConfig object |
void linphone_config_unref | ( | LinphoneConfig * | config | ) |
Decrement reference count, which will eventually free the object.
config | The LinphoneConfig object |
void linphone_config_write_relative_file | ( | const LinphoneConfig * | config, |
const char * | filename, | ||
const char * | data | ||
) |
Write a string in a file placed relatively with the Linphone configuration file.
config | LinphoneConfig instance used as a reference |
filename | Name of the file where to write data. The name is relative to the place of the config file |
data | String to write |
const char* linphone_configuring_state_to_string | ( | LinphoneConfiguringState | state | ) |
Converts a LinphoneConfiguringState enum to a string.
state | LinphoneConfiguringState the value for which we want a string representation |
void linphone_content_add_content_type_parameter | ( | LinphoneContent * | content, |
const char * | name, | ||
const char * | value | ||
) |
Adds a parameter to the ContentType header.
content | LinphoneContent object. |
name | the name of the parameter to add. |
value | the value of the parameter to add. |
void linphone_content_add_custom_header | ( | LinphoneContent * | content, |
const char * | header_name, | ||
const char * | header_value | ||
) |
Adds a custom header in a content.
content | LinphoneContent object. |
header_name | The name of the header to add. |
header_value | The value of the header to add. |
char* linphone_content_export_plain_file | ( | const LinphoneContent * | content | ) |
Generates a temporary plain copy of the file and returns its paths The caller is responsible to then delete this temporary copy and the returned string.
[in] | content | LinphoneContent object. |
LinphoneContent* linphone_content_find_part_by_header | ( | const LinphoneContent * | content, |
const char * | header_name, | ||
const char * | header_value | ||
) |
Find a part from a multipart content looking for a part header with a specified value.
content | LinphoneContent object. |
header_name | The name of the header to look for. |
header_value | The value of the header to look for. |
const uint8_t* linphone_content_get_buffer | ( | const LinphoneContent * | content | ) |
Get the content data buffer, usually a string.
content | LinphoneContent object. |
const char* linphone_content_get_custom_header | ( | const LinphoneContent * | content, |
const char * | header_name | ||
) |
Get a custom header value of a content.
content | LinphoneContent object. |
header_name | The name of the header to get the value from. |
const char* linphone_content_get_disposition | ( | const LinphoneContent * | content | ) |
Get the disposition of the Content, for example "recipient-list".
content | LinphoneContent object. |
const char* linphone_content_get_encoding | ( | const LinphoneContent * | content | ) |
Get the encoding of the data buffer, for example "gzip".
content | LinphoneContent object. |
int linphone_content_get_file_duration | ( | LinphoneContent * | content | ) |
Gets the file duration in seconds, if information is available.
content | LinphoneContent object. |
The | duration of the file in seconds or -1 if information isn't available. |
const char* linphone_content_get_file_path | ( | const LinphoneContent * | content | ) |
Get the file transfer filepath set for this content (replace linphone_chat_message_get_file_transfer_filepath).
content | LinphoneContent object. |
size_t linphone_content_get_file_size | ( | const LinphoneContent * | content | ) |
Get the file size if content is either a FileContent or a FileTransferContent.
content | LinphoneContent object. |
const char* linphone_content_get_key | ( | const LinphoneContent * | content | ) |
Get the key associated with a RCS file transfer message if encrypted.
content | LinphoneContent object. |
size_t linphone_content_get_key_size | ( | const LinphoneContent * | content | ) |
Get the size of key associated with a RCS file transfer message if encrypted.
content | LinphoneContent object. |
const char* linphone_content_get_name | ( | const LinphoneContent * | content | ) |
Get the name associated with a RCS file transfer message.
It is used to store the original filename of the file to be downloaded from server.
content | LinphoneContent object. |
LinphoneContent* linphone_content_get_part | ( | const LinphoneContent * | content, |
int | index | ||
) |
Get a part from a multipart content according to its index.
content | LinphoneContent object. |
index | The index of the part to get. |
bctbx_list_t* linphone_content_get_parts | ( | const LinphoneContent * | content | ) |
Get all the parts from a multipart content.
content | LinphoneContent object. |
MS2_DEPRECATED char* linphone_content_get_plain_file_path | ( | const LinphoneContent * | content | ) |
Generates a temporary plain copy of the file and returns its paths The caller is responsible to then delete this temporary copy and the returned string.
[in] | content | LinphoneContent object. |
size_t linphone_content_get_size | ( | const LinphoneContent * | content | ) |
Get the content data buffer size, excluding null character despite null character is always set for convenience.
content | LinphoneContent object. |
MS2_DEPRECATED const char* linphone_content_get_string_buffer | ( | const LinphoneContent * | content | ) |
Get the string content data buffer.
content | LinphoneContent object |
const char* linphone_content_get_subtype | ( | const LinphoneContent * | content | ) |
Get the mime subtype of the content data.
content | LinphoneContent object. |
const char* linphone_content_get_type | ( | const LinphoneContent * | content | ) |
Get the mime type of the content data.
content | LinphoneContent object. |
void* linphone_content_get_user_data | ( | const LinphoneContent * | content | ) |
Retrieve the user pointer associated with the content.
content | LinphoneContent object. |
const char* linphone_content_get_utf8_text | ( | const LinphoneContent * | content | ) |
Get the string content data buffer.
Introduced in 01/07/2020
content | LinphoneContent object. |
bool_t linphone_content_is_file | ( | const LinphoneContent * | content | ) |
Tells whether or not this content contains a file.
content | LinphoneContent object. |
bool_t linphone_content_is_file_encrypted | ( | const LinphoneContent * | content | ) |
Tells whether or not this content contains an encrypted file.
bool_t linphone_content_is_file_transfer | ( | const LinphoneContent * | content | ) |
Tells whether or not this content is a file transfer.
content | LinphoneContent object. |
bool_t linphone_content_is_icalendar | ( | const LinphoneContent * | content | ) |
Tells whether or not this content contains an icalendar by checking it's content type.
content | LinphoneContent object. |
bool_t linphone_content_is_multipart | ( | const LinphoneContent * | content | ) |
Tell whether a content is a multipart content.
content | LinphoneContent object. |
bool_t linphone_content_is_text | ( | const LinphoneContent * | content | ) |
Tells whether or not this content contains text.
content | LinphoneContent object. |
bool_t linphone_content_is_voice_recording | ( | const LinphoneContent * | content | ) |
Tells whether or not this content contains a voice recording by checking it's content type.
content | LinphoneContent object. |
LinphoneContent* linphone_content_ref | ( | LinphoneContent * | content | ) |
Acquire a reference to the content.
content | LinphoneContent object. |
void linphone_content_set_buffer | ( | LinphoneContent * | content, |
const uint8_t * | buffer, | ||
size_t | size | ||
) |
Set the content data buffer, usually a string.
content | LinphoneContent object. |
buffer | The content data buffer. |
size | The size of the content data buffer. |
void linphone_content_set_disposition | ( | LinphoneContent * | content, |
const char * | disposition | ||
) |
Set the disposition of the Content, for example "recipient-list".
content | LinphoneContent object. |
disposition | The disposition of the Content. |
void linphone_content_set_encoding | ( | LinphoneContent * | content, |
const char * | encoding | ||
) |
Set the encoding of the data buffer, for example "gzip".
content | LinphoneContent object. |
encoding | The encoding of the data buffer. |
void linphone_content_set_file_path | ( | LinphoneContent * | content, |
const char * | file_path | ||
) |
Set the file transfer filepath for this content (replace linphone_chat_message_set_file_transfer_filepath).
content | LinphoneContent object. |
file_path | the file transfer filepath. |
void linphone_content_set_key | ( | LinphoneContent * | content, |
const char * | key, | ||
const size_t | key_length | ||
) |
Set the key associated with a RCS file transfer message if encrypted.
content | LinphoneContent object. |
key | The key to be used to encrypt/decrypt file associated to this content. |
key_length | The lengh of the key. |
void linphone_content_set_name | ( | LinphoneContent * | content, |
const char * | name | ||
) |
Set the name associated with a RCS file transfer message.
It is used to store the original filename of the file to be downloaded from server.
content | LinphoneContent object. |
name | The name of the content. |
void linphone_content_set_size | ( | LinphoneContent * | content, |
size_t | size | ||
) |
Set the content data size, excluding null character despite null character is always set for convenience.
content | LinphoneContent object |
size | The content data buffer size. |
MS2_DEPRECATED void linphone_content_set_string_buffer | ( | LinphoneContent * | content, |
const char * | buffer | ||
) |
Set the string content data buffer.
content | LinphoneContent object. |
buffer | The string content data buffer in UTF8. |
void linphone_content_set_subtype | ( | LinphoneContent * | content, |
const char * | subtype | ||
) |
Set the mime subtype of the content data.
content | LinphoneContent object. |
subtype | The mime subtype of the content data, for example "html". |
void linphone_content_set_type | ( | LinphoneContent * | content, |
const char * | type | ||
) |
Set the mime type of the content data.
content | LinphoneContent object. |
type | The mime type of the content data, for example "application". |
void linphone_content_set_user_data | ( | LinphoneContent * | content, |
void * | user_data | ||
) |
Assign a user pointer to the content.
content | LinphoneContent object. |
user_data | The user pointer to associate with the content. |
void linphone_content_set_utf8_text | ( | LinphoneContent * | content, |
const char * | buffer | ||
) |
Get the string content data buffer.
Introduced in 01/07/2020
content | LinphoneContent object. |
buffer | The string content data buffer in UTF8. |
void linphone_content_unref | ( | LinphoneContent * | content | ) |
Release reference to the content.
content | LinphoneContent object. |
bool_t linphone_core_auto_iterate_enabled | ( | const LinphoneCore * | core | ) |
Gets whether auto iterate is enabled or not (Android & iOS only).
core | The LinphoneCore |
void linphone_core_check_for_update | ( | LinphoneCore * | core, |
const char * | current_version | ||
) |
Checks if a new version of the application is available.
core | LinphoneCore object |
current_version | The current version of the application |
LinphoneConfig* linphone_core_create_config | ( | LinphoneCore * | core, |
const char * | filename | ||
) |
Create a LinphoneConfig object from a user config file.
core | LinphoneCore object |
filename | The filename of the config file to read to fill the instantiated LinphoneConfig |
LinphoneContent* linphone_core_create_content | ( | LinphoneCore * | core | ) |
Create a content with default values from Linphone core.
core | LinphoneCore object |
LinphoneInfoMessage* linphone_core_create_info_message | ( | LinphoneCore * | core | ) |
Creates an empty info message.
core | the LinphoneCore |
The info message can later be filled with information using linphone_info_message_add_header() or linphone_info_message_set_content(), and finally sent with linphone_core_send_info_message().
LinphonePlayer* linphone_core_create_local_player | ( | LinphoneCore * | core, |
const char * | sound_card_name, | ||
const char * | video_display_name, | ||
void * | window_id | ||
) |
Create an independent media file player.
This player support WAVE and MATROSKA formats.
core | A LinphoneCore object |
sound_card_name | Playback sound card. If NULL, the ringer sound card set in LinphoneCore will be used |
video_display_name | Video display. If NULL, the video display set in LinphoneCore will be used |
window_id | Id of the drawing window. Depend of video out |
MS2_DEPRECATED LinphoneConfig* linphone_core_create_lp_config | ( | LinphoneCore * | core, |
const char * | filename | ||
) |
Create a LpConfig object from a user config file.
core | LinphoneCore object |
filename | The filename of the config file to read to fill the instantiated LpConfig |
LinphoneMagicSearch* linphone_core_create_magic_search | ( | LinphoneCore * | core | ) |
Create a LinphoneMagicSearch object.
core | LinphoneCore object |
LinphoneRecorder* linphone_core_create_recorder | ( | LinphoneCore * | lc, |
LinphoneRecorderParams * | params | ||
) |
Create a media file recorder.
This recorder support WAVE and MATROSKA formats.
lc | A LinphoneCore object. |
params | The LinphoneRecorderParams that will contains all recorder parameters. |
LinphoneRecorderParams* linphone_core_create_recorder_params | ( | const LinphoneCore * | lc | ) |
Create a recorder params that will hold parameters.
This recorder support WAVE and MATROSKA formats.
lc | A LinphoneCore object |
LinphoneXmlRpcSession* linphone_core_create_xml_rpc_session | ( | LinphoneCore * | core, |
const char * | url | ||
) |
Create a LinphoneXmlRpcSession for a given url.
core | The LinphoneCore used for the XML-RPC communication |
url | The URL to the XML-RPC server. Must be NON NULL. |
void linphone_core_did_register_for_remote_push | ( | LinphoneCore * | core, |
void * | device_token | ||
) |
Sets device_token when application didRegisterForRemoteNotificationsWithDeviceToken (IOS only).
core | The LinphoneCore |
device_token,format | (NSData *). |
void linphone_core_did_register_for_remote_push_with_stringified_token | ( | LinphoneCore * | core, |
const char * | device_token_str | ||
) |
Sets device_token when application didRegisterForRemoteNotificationsWithDeviceToken (IOS only).
core | The LinphoneCore |
device_token_str,string | extracted from the Data objectf received in didRegisterForRemoteNotificationsWithDeviceToken ios function. Append ":remote" after data formating.. |
void linphone_core_enable_auto_iterate | ( | LinphoneCore * | core, |
bool_t | enable | ||
) |
Enable or disable the automatic schedule of linphone_core_iterate() method on Android & iOS.
If enabled, linphone_core_iterate() will be called on the main thread every 20ms automatically. If disabled, it is the application that must do this job.
core | The LinphoneCore |
enable | TRUE to enable auto iterate, FALSE to disable |
void linphone_core_enable_lime_x3dh | ( | LinphoneCore * | core, |
bool_t | enable | ||
) |
Tells to LinphoneCore to use LIME X3DH.
core | LinphoneCore object |
enable | A boolean value telling whether to enable or disable LIME X3DH |
void linphone_core_enable_push_notification | ( | LinphoneCore * | core, |
bool_t | enable | ||
) |
Enable or disable push notifications on Android & iOS.
If enabled, it will try to get the push token add configure each account with push_notification_allowed set to true with push parameters. IOS: will also instanciate a PushRegistry, so make sure that your app does not instanciate one too or there will be a conflict.
core | The LinphoneCore |
enable | TRUE to enable push notifications, FALSE to disable |
void linphone_core_enable_vibration_on_incoming_call | ( | LinphoneCore * | core, |
bool_t | enable | ||
) |
Enable vibration will incoming call is ringing (Android only).
core | The LinphoneCore |
void linphone_core_ensure_registered | ( | LinphoneCore * | core | ) |
Call this method when you receive a push notification (if you handle push notifications manually).
It will ensure the proxy configs are correctly registered to the proxy server, so the call or the message will be correctly delivered.
core | The LinphoneCore |
void linphone_core_enter_background | ( | LinphoneCore * | core | ) |
This method is called by the application to notify the linphone core library when it enters background mode.
core | the LinphoneCore |
void linphone_core_enter_foreground | ( | LinphoneCore * | core | ) |
This method is called by the application to notify the linphone core library when it enters foreground mode.
core | the LinphoneCore |
int linphone_core_get_auto_iterate_background_schedule | ( | const LinphoneCore * | core | ) |
Gets the timer used to schedule the call to core.iterate() method when in background (Android only).
This is only used when linphone_core_auto_iterate_enabled() returns TRUE.
core | The LinphoneCore |
int linphone_core_get_auto_iterate_foreground_schedule | ( | const LinphoneCore * | core | ) |
Gets the timer used to schedule the call to core.iterate() method when in foreground (Android only).
This is only used when linphone_core_auto_iterate_enabled() returns TRUE.
core | The LinphoneCore |
LinphoneConfig* linphone_core_get_config | ( | const LinphoneCore * | core | ) |
Returns the config object used to manage the storage (config) file.
core | LinphoneCore object The application can use the LinphoneConfig object to insert its own private sections and pairs of key=value in the configuration file. |
const char* linphone_core_get_file_transfer_server | ( | LinphoneCore * | core | ) |
Get the globaly set http file transfer server to be used for content type application/vnd.gsma.rcs-ft-http+xml.
Url may be like: "https://file.linphone.org/upload.php".
core | LinphoneCore from which to get the server_url |
LinphoneGlobalState linphone_core_get_global_state | ( | const LinphoneCore * | core | ) |
Returns the global state of core.
core | LinphoneCore object |
MS2_DEPRECATED const char* linphone_core_get_lime_x3dh_server_url | ( | LinphoneCore * | core | ) |
Get the x3dh server url.
core | LinphoneCore object |
LinphoneChatRoom* linphone_core_get_new_chat_room_from_conf_addr | ( | LinphoneCore * | core, |
const char * | chat_room_addr | ||
) |
Get the chat room we have been added into using the chat_room_addr included in the push notification body This will start the core given in parameter, iterate until the new chat room is received and return it.
By default, after 25 seconds the function returns because iOS kills the app extension after 30 seconds.
core | The LinphoneCore |
chat_room_addr | The sip address of the chat room |
LinphonePushNotificationMessage* linphone_core_get_new_message_from_callid | ( | LinphoneCore * | core, |
const char * | call_id | ||
) |
Get the chat message with the call_id included in the push notification body This will start the core given in parameter, iterate until the message is received and return it.
By default, after 25 seconds the function returns because iOS kills the app extension after 30 seconds.
core | The LinphoneCore |
call_id | The callId of the Message SIP transaction |
int linphone_core_get_unread_chat_message_count | ( | const LinphoneCore * | core | ) |
Return the global unread chat message count.
core | LinphoneCore object. |
int linphone_core_get_unread_chat_message_count_from_active_locals | ( | const LinphoneCore * | core | ) |
Return the unread chat message count for all active local address.
(Primary contact + proxy configs.)
core | LinphoneCore object. |
int linphone_core_get_unread_chat_message_count_from_local | ( | const LinphoneCore * | core, |
const LinphoneAddress * | address | ||
) |
Return the unread chat message count for a given local address.
core | LinphoneCore object. |
address | LinphoneAddress object. |
bool_t linphone_core_has_builtin_echo_canceller | ( | LinphoneCore * | core | ) |
Check whether the device has a hardware echo canceller.
core | The LinphoneCore object. |
bool_t linphone_core_has_crappy_opengl | ( | LinphoneCore * | core | ) |
Check whether the device is flagged has crappy opengl.
core | The LinphoneCore object. |
LinphoneAddress* linphone_core_interpret_url | ( | LinphoneCore * | core, |
const char * | url | ||
) |
Constructs a LinphoneAddress from the given string if possible.
In case of just a username, characters will be unescaped. If a phone number is detected, it will be flattened. sip: or sips: prefix will be added if not present. Finally, will be added if not present using default proxy config.
core | The core |
url | the url to parse |
LinphoneAddress* linphone_core_interpret_url_2 | ( | LinphoneCore * | core, |
const char * | url, | ||
bool_t | apply_international_prefix | ||
) |
Constructs a LinphoneAddress from the given string if possible.
In case of just a username, characters will be unescaped. If a phone number is detected, it will be flattened. sip: or sips: prefix will be added if not present. Finally, will be added if not present using default proxy config.
core | The core |
url | the url to parse |
apply_international_prefix | whether or not to try to format url as phone number using default account prefix if it set (and if url is a number). |
bool_t linphone_core_is_auto_iterate_enabled | ( | const LinphoneCore * | core | ) |
Gets whether auto iterate is enabled or not (Android & iOS only).
core | The LinphoneCore |
bool_t linphone_core_is_echo_canceller_calibration_required | ( | LinphoneCore * | core | ) |
Check whether the device is echo canceller calibration is required.
core | The LinphoneCore object. |
bool_t linphone_core_is_push_notification_available | ( | LinphoneCore * | core | ) |
Gets whether push notifications are available or not (Android & iOS only).
core | The LinphoneCore |
bool_t linphone_core_is_push_notification_enabled | ( | LinphoneCore * | core | ) |
Gets whether push notifications are enabled or not (Android & iOS only).
If not, the app will have to handle all the push-related settings for each accounts
core | The LinphoneCore |
bool_t linphone_core_is_vibration_on_incoming_call_enabled | ( | LinphoneCore * | core | ) |
Gets whether the device will vibrate while an incoming call is ringing (Android only).
core | The LinphoneCore |
bool_t linphone_core_ldap_available | ( | LinphoneCore * | core | ) |
Tells if LDAP is available.
core | LinphoneCore object |
bool_t linphone_core_lime_x3dh_available | ( | const LinphoneCore * | core | ) |
Tells if LIME X3DH is available.
core | LinphoneCore object |
bool_t linphone_core_lime_x3dh_enabled | ( | const LinphoneCore * | core | ) |
Tells wether LIME X3DH is enabled or not.
core | LinphoneCore object |
void linphone_core_load_config_from_xml | ( | LinphoneCore * | core, |
const char * | xml_uri | ||
) |
Update current config with the content of a xml config file.
core | The LinphoneCore to update |
xml_uri | the path to the xml file |
LinphoneStatus linphone_core_play_local | ( | LinphoneCore * | core, |
const char * | audiofile | ||
) |
Plays an audio file to the local user.
This function works at any time, during calls, or when no calls are running. It doesn't request the underlying audio system to support multiple playback streams.
core | LinphoneCore object |
audiofile | The path to an audio file in wav PCM 16 bit format |
void linphone_core_process_push_notification | ( | LinphoneCore * | lc, |
const char * | call_id | ||
) |
Call this method when you receive a push notification (if you handle push notifications manually).
It will ensure the proxy configs are correctly registered to the proxy server, so the call or the message will be correctly delivered.
core | The LinphoneCore |
call_id | the Call-ID of the MESSAGE or INVITE for which the push was received and to wait for. |
bool_t linphone_core_push_notification_enabled | ( | LinphoneCore * | core | ) |
Gets whether push notifications are enabled or not (Android & iOS only).
If not, the app will have to handle all the push-related settings for each accounts
core | The LinphoneCore |
void linphone_core_push_notification_received | ( | LinphoneCore * | lc, |
const char * | payload, | ||
const char * | call_id | ||
) |
This method is called by Android & iOS platform helpers to notify the Core of a received push notification.
It will simply call Core->pushNotificationReceived() like linphone_core_process_push_notification().
core | The LinphoneCore |
payload | the payload of the push notification if any. |
call_id | the Call-ID of the MESSAGE or INVITE for which the push was received and to wait for. |
void linphone_core_push_notification_received_2 | ( | LinphoneCore * | lc, |
const char * | payload, | ||
const char * | call_id, | ||
bool_t | is_core_starting | ||
) |
This method is called by Android & iOS platform helpers to notify the Core of a received push notification.
It will simply call Core->pushNotificationReceived() like linphone_core_process_push_notification().
core | The LinphoneCore |
payload | the payload of the push notification if any. |
call_id | the Call-ID of the MESSAGE or INVITE for which the push was received and to wait for. |
is_core_starting | if TRUE the Core will skill network tasks we usually do when a push is received to ensure the sockets are alive. |
void linphone_core_set_auto_iterate_background_schedule | ( | LinphoneCore * | core, |
int | schedule | ||
) |
Sets the timer used to schedule the call to core.iterate() method when in background (Android only).
core | The LinphoneCore |
schedule | The timing in milliseconds used to schedule the call while in background. |
void linphone_core_set_auto_iterate_enabled | ( | LinphoneCore * | core, |
bool_t | enable | ||
) |
Enable or disable the automatic schedule of linphone_core_iterate() method on Android & iOS.
If enabled, linphone_core_iterate() will be called on the main thread every 20ms automatically. If disabled, it is the application that must do this job.
core | The LinphoneCore |
enable | TRUE to enable auto iterate, FALSE to disable |
void linphone_core_set_auto_iterate_foreground_schedule | ( | LinphoneCore * | core, |
int | schedule | ||
) |
Sets the timer used to schedule the call to core.iterate() method when in foreground (Android only).
core | The LinphoneCore |
schedule | The timing in milliseconds used to schedule the call while in foreground. |
void linphone_core_set_file_transfer_server | ( | LinphoneCore * | core, |
const char * | server_url | ||
) |
Globaly set an http file transfer server to be used for content type application/vnd.gsma.rcs-ft-http+xml.
Url may be like: "https://file.linphone.org/upload.php". This value can also be set for a dedicated account using linphone_proxy_config_set_file_transfer_server().
core | LinphoneCore to be modified |
server_url | URL of the file server. |
MS2_DEPRECATED void linphone_core_set_lime_x3dh_server_url | ( | LinphoneCore * | core, |
const char * | url | ||
) |
Set the x3dh server url.
If empty, this function will disable LIME X3DH from core. Otherwise, or if different from the existing value, this will (re-)initialize the LIME X3DH engine.
core | LinphoneCore object |
url | The x3dh server url. |
void linphone_core_set_push_notification_enabled | ( | LinphoneCore * | core, |
bool_t | enable | ||
) |
Enable or disable push notifications on Android & iOS.
If enabled, it will try to get the push token add configure each account with push_notification_allowed set to true with push parameters. IOS: will also instanciate a PushRegistry, so make sure that your app does not instanciate one too or there will be a conflict.
core | The LinphoneCore |
enable | TRUE to enable push notifications, FALSE to disable |
void linphone_core_set_user_agent | ( | LinphoneCore * | core, |
const char * | name, | ||
const char * | version | ||
) |
Set the user agent string used in SIP messages.
Set the user agent string used in SIP messages as "[ua_name]/[version]". No slash character will be printed if NULL is given to "version". If NULL is given to "ua_name" and "version" both, the User-agent header will be empty.
This function should be called just after linphone_factory_create_core() ideally.
core | The core. |
name | Name of the user agent. |
version | Version of the user agent. |
void linphone_core_set_vibration_on_incoming_call_enabled | ( | LinphoneCore * | core, |
bool_t | enable | ||
) |
Enable vibration will incoming call is ringing (Android only).
core | The LinphoneCore |
MS2_DEPRECATED int linphone_core_start_echo_calibration | ( | LinphoneCore * | lc, |
LinphoneEcCalibrationCallback | cb, | ||
LinphoneEcCalibrationAudioInit | audio_init_cb, | ||
LinphoneEcCalibrationAudioUninit | audio_uninit_cb, | ||
void * | cb_data | ||
) |
Starts an echo calibration of the sound devices, in order to find adequate settings for the echo canceler automatically.
16/10/2017 Use linphone_core_start_echo_canceller_calibration() instead. To set the callbacks create or get an already instantiated LinphoneCoreCbs and call linphone_core_cbs_set_ec_calibration_result(), linphone_core_cbs_set_ec_calibration_audio_init() and #linphone_core_cbs_set_ec_callibration_audio_uninit(). Deprecated since 2017-10-16.
LinphoneStatus linphone_core_start_echo_canceller_calibration | ( | LinphoneCore * | core | ) |
Starts an echo calibration of the sound devices, in order to find adequate settings for the echo canceler automatically.
core | LinphoneCore object. |
LinphoneStatus linphone_core_start_echo_tester | ( | LinphoneCore * | core, |
unsigned int | rate | ||
) |
Start the simulation of call to test the latency with an external device.
core | The LinphoneCore object. |
rate | Sound sample rate. |
LinphoneStatus linphone_core_stop_echo_tester | ( | LinphoneCore * | core | ) |
Stop the simulation of call.
core | The LinphoneCore object. |
LinphoneStatus linphone_core_take_preview_snapshot | ( | LinphoneCore * | core, |
const char * | file | ||
) |
Take a photo of currently from capture device and write it into a jpeg file.
Note that the snapshot is asynchronous, an application shall not assume that the file is created when the function returns.
core | the linphone core |
file | a path where to write the jpeg content. |
bool_t linphone_core_vcard_supported | ( | void | ) |
Tells whether VCARD support is builtin.
bool_t linphone_core_vibration_on_incoming_call_enabled | ( | LinphoneCore * | core | ) |
Gets whether the device will vibrate while an incoming call is ringing (Android only).
core | The LinphoneCore |
bool_t linphone_core_video_supported | ( | LinphoneCore * | core | ) |
Test if video is supported.
core | the LinphoneCore |
const LinphoneDialPlan* linphone_dial_plan_by_ccc | ( | const char * | ccc | ) |
Find best match for given CCC.
ccc | The country calling code |
const LinphoneDialPlan* linphone_dial_plan_by_ccc_as_int | ( | int | ccc | ) |
Find best match for given CCC.
ccc | the country calling code |
MS2_DEPRECATED const LinphoneDialPlan* linphone_dial_plan_get_all | ( | void | ) |
Return NULL-terminated array of all known dial plans.
bctbx_list_t* linphone_dial_plan_get_all_list | ( | void | ) |
Returns a list of all known dial plans.
const char* linphone_dial_plan_get_country | ( | const LinphoneDialPlan * | dial_plan | ) |
Returns the country name of the dialplan.
dial_plan | the LinphoneDialPlan object |
const char* linphone_dial_plan_get_country_calling_code | ( | const LinphoneDialPlan * | dial_plan | ) |
Returns the country calling code of the dialplan.
dial_plan | the LinphoneDialPlan object |
const char* linphone_dial_plan_get_flag | ( | const LinphoneDialPlan * | dial_plan | ) |
Returns the flag of the teritory as unicode characters.
dial_plan | the LinphoneDialPlan object |
const char* linphone_dial_plan_get_international_call_prefix | ( | const LinphoneDialPlan * | dial_plan | ) |
Returns the international call prefix of the dialplan.
dial_plan | the LinphoneDialPlan object |
const char* linphone_dial_plan_get_iso_country_code | ( | const LinphoneDialPlan * | dial_plan | ) |
Returns the iso country code of the dialplan.
dial_plan | the LinphoneDialPlan object |
int linphone_dial_plan_get_national_number_length | ( | const LinphoneDialPlan * | dial_plan | ) |
Returns the national number length of the dialplan.
dial_plan | the LinphoneDialPlan object |
bool_t linphone_dial_plan_is_generic | ( | const LinphoneDialPlan * | ccc | ) |
Return if given plan is generic.
ccc | the country calling code |
int linphone_dial_plan_lookup_ccc_from_e164 | ( | const char * | e164 | ) |
Function to get call country code from an e164 number, ex: +33952650121 will return 33.
e164 | phone number |
int linphone_dial_plan_lookup_ccc_from_iso | ( | const char * | iso | ) |
Function to get call country code from ISO 3166-1 alpha-2 code, ex: FR returns 33.
iso | country code alpha2 |
LinphoneDialPlan* linphone_dial_plan_ref | ( | LinphoneDialPlan * | dial_plan | ) |
Increases the reference counter of LinphoneDialPlan objects.
dial_plan | the LinphoneDialPlan object |
void linphone_dial_plan_unref | ( | LinphoneDialPlan * | dial_plan | ) |
Decreases the reference counter of #LinphoneDialPaln objects.
dial_plan | the LinphoneDialPlan object |
bool_t linphone_error_code_is_retry_after | ( | int | error | ) |
Check whether an error code is in Retry-After field.
error | An error code |
LinphoneReason linphone_error_code_to_reason | ( | int | error | ) |
Converts an error code to a LinphoneReason.
error | An error code |
const char* linphone_error_info_get_phrase | ( | const LinphoneErrorInfo * | error_info | ) |
Get textual phrase from the error info.
This is the text that is provided by the peer in the protocol (SIP).
error_info | LinphoneErrorInfo object |
const char* linphone_error_info_get_protocol | ( | const LinphoneErrorInfo * | error_info | ) |
Get protocol from the error info.
error_info | LinphoneErrorInfo object |
int linphone_error_info_get_protocol_code | ( | const LinphoneErrorInfo * | error_info | ) |
Get the status code from the low level protocol (ex a SIP status code).
error_info | LinphoneErrorInfo object |
LinphoneReason linphone_error_info_get_reason | ( | const LinphoneErrorInfo * | error_info | ) |
Get reason code from the error info.
error_info | LinphoneErrorInfo object |
int linphone_error_info_get_retry_after | ( | const LinphoneErrorInfo * | error_info | ) |
Get Retry-After delay second from the error info.
error_info | LinphoneErrorInfo object |
LinphoneErrorInfo* linphone_error_info_get_sub_error_info | ( | const LinphoneErrorInfo * | error_info | ) |
Get pointer to chained LinphoneErrorInfo set in sub_ei.
It corresponds to a Reason header in a received SIP response.
error_info | LinphoneErrorInfo object |
const char* linphone_error_info_get_warnings | ( | const LinphoneErrorInfo * | error_info | ) |
Provides additional information regarding the failure.
With SIP protocol, the content of "Warning" headers are returned.
error_info | LinphoneErrorInfo object |
LinphoneErrorInfo* linphone_error_info_new | ( | void | ) |
Create an empty LinphoneErrorInfo object.
The LinphoneErrorInfo object carries these fields:
LinphoneErrorInfo* linphone_error_info_ref | ( | LinphoneErrorInfo * | error_info | ) |
Increment refcount.
error_info | LinphoneErrorInfo object |
void linphone_error_info_set | ( | LinphoneErrorInfo * | error_info, |
const char * | protocol, | ||
LinphoneReason | reason, | ||
int | code, | ||
const char * | status, | ||
const char * | warning | ||
) |
Assign information to a LinphoneErrorInfo object.
error_info | LinphoneErrorInfo object |
protocol | protocol name |
reason | reason from LinphoneReason enum |
code | protocol code |
status | description of the reason |
warning | warning message |
void linphone_error_info_set_phrase | ( | LinphoneErrorInfo * | error_info, |
const char * | phrase | ||
) |
Assign phrase to a LinphoneErrorInfo object.
error_info | LinphoneErrorInfo object |
phrase | the phrase explaining the error |
void linphone_error_info_set_protocol | ( | LinphoneErrorInfo * | error_info, |
const char * | protocol | ||
) |
Assign protocol name to a LinphoneErrorInfo object.
error_info | LinphoneErrorInfo object |
protocol | the protocol name |
void linphone_error_info_set_protocol_code | ( | LinphoneErrorInfo * | error_info, |
int | code | ||
) |
Assign protocol code to a LinphoneErrorInfo object.
error_info | LinphoneErrorInfo object |
code | the protocol code |
void linphone_error_info_set_reason | ( | LinphoneErrorInfo * | error_info, |
LinphoneReason | reason | ||
) |
Assign reason LinphoneReason to a LinphoneErrorInfo object.
error_info | LinphoneErrorInfo object |
reason | reason from LinphoneReason enum |
void linphone_error_info_set_retry_after | ( | LinphoneErrorInfo * | error_info, |
int | retry_after | ||
) |
Assign retry-after value to a LinphoneErrorInfo object.
error_info | LinphoneErrorInfo object |
retry_after | the retry-after value |
void linphone_error_info_set_sub_error_info | ( | LinphoneErrorInfo * | error_info, |
LinphoneErrorInfo * | appended_error_info | ||
) |
Set the sub_ei in LinphoneErrorInfo to another LinphoneErrorInfo.
Used when a reason header is to be added in a SIP response. The first level LinphoneErrorInfo defines the SIP response code and phrase, the second (sub) #LinphoneErroInfo defining the content of the Reason header.
error_info | LinphoneErrorInfo object to which the other LinphoneErrorInfo will be appended as ei->sub_ei. |
appended_error_info | LinphoneErrorInfo to append |
void linphone_error_info_set_warnings | ( | LinphoneErrorInfo * | error_info, |
const char * | warnings | ||
) |
Assign warnings to a LinphoneErrorInfo object.
error_info | LinphoneErrorInfo object |
warnings | the warnings |
void linphone_error_info_unref | ( | LinphoneErrorInfo * | error_info | ) |
Decrement refcount and possibly free the object.
error_info | LinphoneErrorInfo object |
const char* linphone_factory_get_cache_dir | ( | LinphoneFactory * | factory, |
void * | context | ||
) |
Get the cache path.
factory | the LinphoneFactory |
context | used to compute path. Can be NULL. JavaPlatformHelper on Android and char *appGroupId on iOS with shared core. |
const char* linphone_factory_get_config_dir | ( | LinphoneFactory * | factory, |
void * | context | ||
) |
Get the config path.
factory | the LinphoneFactory |
context | used to compute path. Can be NULL. JavaPlatformHelper on Android and char *appGroupId on iOS with shared core. |
const char* linphone_factory_get_data_dir | ( | LinphoneFactory * | factory, |
void * | context | ||
) |
Get the data path.
factory | the LinphoneFactory |
context | used to compute path. Can be NULL. JavaPlatformHelper on Android and char *appGroupId on iOS with shared core. |
const char* linphone_factory_get_download_dir | ( | LinphoneFactory * | factory, |
void * | context | ||
) |
Get the download path.
factory | the LinphoneFactory |
context | used to compute path. Can be NULL. JavaPlatformHelper on Android and char *appGroupId on iOS with shared core. |
bool_t linphone_factory_is_cache_dir_set | ( | const LinphoneFactory * | factory | ) |
Test if cache dir has been set.
factory | the LinphoneFactory |
bool_t linphone_factory_is_config_dir_set | ( | const LinphoneFactory * | factory | ) |
Test if config dir has been set.
factory | the LinphoneFactory |
bool_t linphone_factory_is_data_dir_set | ( | const LinphoneFactory * | factory | ) |
Test if data dir has been set.
factory | the LinphoneFactory |
bool_t linphone_factory_is_download_dir_set | ( | const LinphoneFactory * | factory | ) |
Test if download dir has been set.
factory | the LinphoneFactory |
void linphone_headers_add | ( | LinphoneHeaders * | headers, |
const char * | name, | ||
const char * | value | ||
) |
Add given header name and corresponding value.
headers | the LinphoneHeaders object |
name | the header's name |
value | the header's value |
const char* linphone_headers_get_value | ( | LinphoneHeaders * | headers, |
const char * | header_name | ||
) |
Search for a given header name and return its value.
headers | the LinphoneHeaders object |
name | the header's name |
void linphone_headers_remove | ( | LinphoneHeaders * | headers, |
const char * | name | ||
) |
Add given header name and corresponding value.
headers | the LinphoneHeaders object |
name | the header's name |
LinphoneImEncryptionEngineCbsGenerateFileTransferKeyCb linphone_im_encryption_engine_cbs_get_generate_file_transfer_key | ( | LinphoneImEncryptionEngineCbs * | cbs | ) |
Gets the callback that will generate the key to encrypt the file before uploading it.
cbs | the LinphoneImEncryptionEngineCbs object |
LinphoneImEncryptionEngineCbsIsEncryptionEnabledForFileTransferCb linphone_im_encryption_engine_cbs_get_is_encryption_enabled_for_file_transfer | ( | LinphoneImEncryptionEngineCbs * | cbs | ) |
Gets the callback telling whether or not to encrypt the files.
cbs | the LinphoneImEncryptionEngineCbs object |
LinphoneImEncryptionEngineCbsDownloadingFileCb linphone_im_encryption_engine_cbs_get_process_downloading_file | ( | LinphoneImEncryptionEngineCbs * | cbs | ) |
Gets the callback that will decrypt the files while downloading them.
cbs | the LinphoneImEncryptionEngineCbs object |
LinphoneImEncryptionEngineCbsIncomingMessageCb linphone_im_encryption_engine_cbs_get_process_incoming_message | ( | LinphoneImEncryptionEngineCbs * | cbs | ) |
Gets the callback that will decrypt the chat messages upon reception.
cbs | the LinphoneImEncryptionEngineCbs object |
LinphoneImEncryptionEngineCbsOutgoingMessageCb linphone_im_encryption_engine_cbs_get_process_outgoing_message | ( | LinphoneImEncryptionEngineCbs * | cbs | ) |
Gets the callback that will encrypt the chat messages before sending them.
cbs | the LinphoneImEncryptionEngineCbs object |
LinphoneImEncryptionEngineCbsUploadingFileCb linphone_im_encryption_engine_cbs_get_process_uploading_file | ( | LinphoneImEncryptionEngineCbs * | cbs | ) |
Gets the callback that will will encrypt the files while uploading them.
cbs | the LinphoneImEncryptionEngineCbs object |
void* linphone_im_encryption_engine_cbs_get_user_data | ( | const LinphoneImEncryptionEngineCbs * | cbs | ) |
Gets the user data in the LinphoneImEncryptionEngineCbs object.
cbs | the LinphoneImEncryptionEngineCbs |
LinphoneImEncryptionEngineCbs* linphone_im_encryption_engine_cbs_ref | ( | LinphoneImEncryptionEngineCbs * | cbs | ) |
Acquire a reference to the LinphoneImEncryptionEngineCbs.
cbs | LinphoneImEncryptionEngineCbs object. |
void linphone_im_encryption_engine_cbs_set_generate_file_transfer_key | ( | LinphoneImEncryptionEngineCbs * | cbs, |
LinphoneImEncryptionEngineCbsGenerateFileTransferKeyCb | cb | ||
) |
Sets the callback that will generate the key to encrypt the file before uploading it.
cbs | the LinphoneImEncryptionEngineCbs object |
cb | the callback to call |
void linphone_im_encryption_engine_cbs_set_is_encryption_enabled_for_file_transfer | ( | LinphoneImEncryptionEngineCbs * | cbs, |
LinphoneImEncryptionEngineCbsIsEncryptionEnabledForFileTransferCb | cb | ||
) |
Sets the callback telling whether or not to encrypt the files.
cbs | the LinphoneImEncryptionEngineCbs object |
cb | the callback to call |
void linphone_im_encryption_engine_cbs_set_process_downloading_file | ( | LinphoneImEncryptionEngineCbs * | cbs, |
LinphoneImEncryptionEngineCbsDownloadingFileCb | cb | ||
) |
Sets the callback that will decrypt the files while downloading them.
cbs | the LinphoneImEncryptionEngineCbs object |
cb | the callback to call |
void linphone_im_encryption_engine_cbs_set_process_incoming_message | ( | LinphoneImEncryptionEngineCbs * | cbs, |
LinphoneImEncryptionEngineCbsIncomingMessageCb | cb | ||
) |
Sets the callback that will decrypt the chat messages upon reception.
cbs | the LinphoneImEncryptionEngineCbs object |
cb | the callback to call |
void linphone_im_encryption_engine_cbs_set_process_outgoing_message | ( | LinphoneImEncryptionEngineCbs * | cbs, |
LinphoneImEncryptionEngineCbsOutgoingMessageCb | cb | ||
) |
Sets the callback that will encrypt the chat messages before sending them.
cbs | the LinphoneImEncryptionEngineCbs object |
cb | the callback to call |
void linphone_im_encryption_engine_cbs_set_process_uploading_file | ( | LinphoneImEncryptionEngineCbs * | cbs, |
LinphoneImEncryptionEngineCbsUploadingFileCb | cb | ||
) |
Sets the callback that will encrypt the files while uploading them.
cbs | the LinphoneImEncryptionEngineCbs object |
cb | the callback to call |
void linphone_im_encryption_engine_cbs_set_user_data | ( | LinphoneImEncryptionEngineCbs * | cbs, |
void * | data | ||
) |
Sets the user data in the LinphoneImEncryptionEngineCbs object.
cbs | the LinphoneImEncryptionEngineCbs object |
data | the user data |
void linphone_im_encryption_engine_cbs_unref | ( | LinphoneImEncryptionEngineCbs * | cbs | ) |
Release reference to the LinphoneImEncryptionEngineCbs.
cbs | LinphoneImEncryptionEngineCbs object. |
LinphoneImEncryptionEngineCbs* linphone_im_encryption_engine_get_callbacks | ( | const LinphoneImEncryptionEngine * | imee | ) |
Gets the LinphoneImEncryptionEngineCbs object that holds the callbacks.
imee | the LinphoneImEncryptionEngine object |
LinphoneCore* linphone_im_encryption_engine_get_core | ( | LinphoneImEncryptionEngine * | imee | ) |
Gets the LinphoneCore object that created the IM encryption engine.
imee | LinphoneImEncryptionEngine object |
void* linphone_im_encryption_engine_get_user_data | ( | const LinphoneImEncryptionEngine * | imee | ) |
Gets the user data in the LinphoneImEncryptionEngine object.
imee | the LinphoneImEncryptionEngine |
LinphoneImEncryptionEngine* linphone_im_encryption_engine_new | ( | void | ) |
Create the IM encryption engine.
LinphoneImEncryptionEngine* linphone_im_encryption_engine_ref | ( | LinphoneImEncryptionEngine * | imee | ) |
Acquire a reference to the LinphoneImEncryptionEngine.
imee | LinphoneImEncryptionEngine object. |
void linphone_im_encryption_engine_set_user_data | ( | LinphoneImEncryptionEngine * | imee, |
void * | data | ||
) |
Sets the user data in the LinphoneImEncryptionEngine object.
imee | the LinphoneImEncryptionEngine object |
data | the user data |
void linphone_im_encryption_engine_unref | ( | LinphoneImEncryptionEngine * | imee | ) |
Release reference to the LinphoneImEncryptionEngine.
imee | LinphoneImEncryptionEngine object. |
void linphone_info_message_add_header | ( | LinphoneInfoMessage * | info_message, |
const char * | name, | ||
const char * | value | ||
) |
Add a header to an info message to be sent.
info_message | the LinphoneInfoMessage object |
name | the header'name |
value | the header's value |
const LinphoneContent* linphone_info_message_get_content | ( | const LinphoneInfoMessage * | info_message | ) |
Returns the info message's content as a LinphoneContent structure.
info_message | the LinphoneInfoMessage object |
const char* linphone_info_message_get_header | ( | const LinphoneInfoMessage * | info_message, |
const char * | name | ||
) |
Obtain a header value from a received info message.
info_message | the LinphoneInfoMessage object |
name | the header'name |
LinphoneInfoMessage* linphone_info_message_ref | ( | LinphoneInfoMessage * | info_message | ) |
Take a reference on a LinphoneInfoMessage.
info_message | the LinphoneInfoMessage object |
void linphone_info_message_set_content | ( | LinphoneInfoMessage * | info_message, |
const LinphoneContent * | content | ||
) |
Assign a content to the info message.
All fields of the LinphoneContent are copied, thus the application can destroy/modify/recycloe the content object freely ater the function returns.
info_message | the LinphoneInfoMessage object |
content | the content described as a LinphoneContent structure. |
void linphone_info_message_unref | ( | LinphoneInfoMessage * | info_message | ) |
Release a reference on a LinphoneInfoMessage.
info_message | the linphone info message |
void linphone_magic_search_add_callbacks | ( | LinphoneMagicSearch * | magic_search, |
LinphoneMagicSearchCbs * | cbs | ||
) |
Add a listener in order to be notified of LinphoneMagicSearch events.
magic_search | LinphoneMagicSearch object to monitor. |
cbs | A LinphoneMagicSearchCbs object holding the callbacks you need. |
LinphoneMagicSearchCbsLdapHaveMoreResultsCb linphone_magic_search_cbs_get_ldap_have_more_results | ( | const LinphoneMagicSearchCbs * | cbs | ) |
Get the ldap callback on having more results.
cbs | LinphoneMagicSearchCbs object. |
LinphoneMagicSearchCbsSearchResultsReceivedCb linphone_magic_search_cbs_get_search_results_received | ( | const LinphoneMagicSearchCbs * | cbs | ) |
Get the received results callback.
cbs | LinphoneMagicSearchCbs object. |
void* linphone_magic_search_cbs_get_user_data | ( | const LinphoneMagicSearchCbs * | cbs | ) |
Retrieve the user pointer associated with the chat message callbacks object.
cbs | The LinphoneMagicSearchCbs object |
LinphoneMagicSearchCbs* linphone_magic_search_cbs_ref | ( | LinphoneMagicSearchCbs * | cbs | ) |
Acquire a reference to the chat message callbacks object.
cbs | The LinphoneMagicSearchCbs object |
void linphone_magic_search_cbs_set_ldap_have_more_results | ( | LinphoneMagicSearchCbs * | cbs, |
LinphoneMagicSearchCbsLdapHaveMoreResultsCb | cb | ||
) |
Set the ldap callback on having more results.
cbs | LinphoneMagicSearchCbs object. |
cb | The ldap callback on having more results. |
void linphone_magic_search_cbs_set_search_results_received | ( | LinphoneMagicSearchCbs * | cbs, |
LinphoneMagicSearchCbsSearchResultsReceivedCb | cb | ||
) |
Set the received results callback.
cbs | LinphoneMagicSearchCbs object. |
cb | The received results callback to be used. |
void linphone_magic_search_cbs_set_user_data | ( | LinphoneMagicSearchCbs * | cbs, |
void * | user_data | ||
) |
Assign a user pointer to the chat message callbacks object.
cbs | The LinphoneMagicSearchCbs object |
user_data | The user pointer to associate with the chat message callbacks object. |
void linphone_magic_search_cbs_unref | ( | LinphoneMagicSearchCbs * | cbs | ) |
Release reference to the chat message callbacks object.
cbs | The LinphoneMagicSearchCbs object |
MS2_DEPRECATED bctbx_list_t* linphone_magic_search_get_contact_list_from_filter | ( | LinphoneMagicSearch * | magic_search, |
const char * | filter, | ||
const char * | domain | ||
) |
Create a sorted list of SearchResult from SipUri, Contact name, Contact displayname, Contact phone number, which match with a filter word The last item list will be an address formed with "filter" if a proxy config exist During the first search, a cache is created and used for the next search Use linphone_magic_search_reset_search_cache() to begin a new search.
magic_search | a LinphoneMagicSearch object |
filter | word we search |
domain | domain which we want to search only
|
MS2_DEPRECATED void linphone_magic_search_get_contact_list_from_filter_async | ( | LinphoneMagicSearch * | magic_search, |
const char * | filter, | ||
const char * | domain | ||
) |
Create a sorted list of SearchResult asynchronous from SipUri, Contact name, Contact displayname, Contact phone number, which match with a filter word The last item list will be an address formed with "filter" if a proxy config exist During the first search, a cache is created and used for the next search Use linphone_magic_search_reset_search_cache() to begin a new search.
magic_search | a LinphoneMagicSearch object |
filter | word we search |
domain | domain which we want to search only NULL or "" for searching in all contact "*" for searching in contact with sip SipUri "yourdomain" for searching in contact from "yourdomain" domain |
MS2_DEPRECATED bctbx_list_t* linphone_magic_search_get_contacts | ( | LinphoneMagicSearch * | magic_search, |
const char * | filter, | ||
const char * | domain, | ||
int | sourceFlags | ||
) |
Create a sorted list of SearchResult which match with a filter word, from SipUri in this order : Contact's display name, address username, address domain and phone number.
The last item list will be an address formed with "filter" if a proxy config exist and requested in sourceFlags During the first search, a cache is created and used for the next search Use linphone_magic_search_reset_search_cache() to begin a new search
magic_search | a LinphoneMagicSearch object |
filter | word we search |
domain | domain which we want to search only
|
sourceFlags | Flags that specify where to search : LinphoneMagicSearchSource |
MS2_DEPRECATED void linphone_magic_search_get_contacts_async | ( | LinphoneMagicSearch * | magic_search, |
const char * | filter, | ||
const char * | domain, | ||
int | sourceFlags | ||
) |
This is the asynchronous version of linphone_magic_search_get_contacts().
Create a sorted list of SearchResult which match with a filter word, from SipUri in this order : Contact's display name, address username, address domain and phone number. The last item list will be an address formed with "filter" if a proxy config exist and requested in sourceFlags During the first search, a cache is created and used for the next search Use linphone_magic_search_reset_search_cache() to begin a new search
magic_search | a LinphoneMagicSearch object |
filter | word we search |
domain | domain which we want to search only
|
sourceFlags | Flags that specify where to search : LinphoneMagicSearchSource |
bctbx_list_t* linphone_magic_search_get_contacts_list | ( | LinphoneMagicSearch * | magic_search, |
const char * | filter, | ||
const char * | domain, | ||
int | sourceFlags, | ||
LinphoneMagicSearchAggregation | aggregation | ||
) |
Create a sorted list of SearchResult which match with a filter word, from SipUri in this order : Contact's display name, address username, address domain and phone number.
The last item list will be an address formed with "filter" if a proxy config exist and requested in sourceFlags During the first search, a cache is created and used for the next search Use linphone_magic_search_reset_search_cache() to begin a new search
magic_search | a LinphoneMagicSearch object |
filter | word we search |
domain | domain which we want to search only
|
sourceFlags | Flags that specify where to search : LinphoneMagicSearchSource |
aggregation | a LinphoneMagicSearchAggregation mode to indicate how to merge results |
void linphone_magic_search_get_contacts_list_async | ( | LinphoneMagicSearch * | magic_search, |
const char * | filter, | ||
const char * | domain, | ||
int | sourceFlags, | ||
LinphoneMagicSearchAggregation | aggregation | ||
) |
This is the asynchronous version of linphone_magic_search_get_contacts().
Create a sorted list of SearchResult which match with a filter word, from SipUri in this order : Contact's display name, address username, address domain and phone number. The last item list will be an address formed with "filter" if a proxy config exist and requested in sourceFlags During the first search, a cache is created and used for the next search Use linphone_magic_search_reset_search_cache() to begin a new search
magic_search | a LinphoneMagicSearch object |
filter | word we search |
domain | domain which we want to search only
|
sourceFlags | Flags that specify where to search : LinphoneMagicSearchSource |
aggregation | a LinphoneMagicSearchAggregation mode to indicate how to merge results |
LinphoneMagicSearchCbs* linphone_magic_search_get_current_callbacks | ( | const LinphoneMagicSearch * | magic_search | ) |
Gets the current LinphoneMagicSearchCbs.
This is meant only to be called from a callback to be able to get the user_data associated with the LinphoneMagicSearchCbs that is calling the callback.
magic_search | LinphoneMagicSearch object |
const char* linphone_magic_search_get_delimiter | ( | const LinphoneMagicSearch * | magic_search | ) |
Get the delimiter used for the search.
magic_search | a LinphoneMagicSearch object |
bctbx_list_t* linphone_magic_search_get_last_search | ( | const LinphoneMagicSearch * | magic_search | ) |
magic_search | a LinphoneMagicSearch object |
bool_t linphone_magic_search_get_limited_search | ( | const LinphoneMagicSearch * | magic_search | ) |
Return whether or not the search is limited.
magic_search | a LinphoneMagicSearch object |
unsigned int linphone_magic_search_get_max_weight | ( | const LinphoneMagicSearch * | magic_search | ) |
Get the maximum value used to calculate the weight in search.
magic_search | a LinphoneMagicSearch object |
unsigned int linphone_magic_search_get_min_weight | ( | const LinphoneMagicSearch * | magic_search | ) |
Get the minimum value used to calculate the weight in search.
magic_search | a LinphoneMagicSearch object |
unsigned int linphone_magic_search_get_search_limit | ( | const LinphoneMagicSearch * | magic_search | ) |
Get the number of maximum search result the search will return.
magic_search | a LinphoneMagicSearch object |
bool_t linphone_magic_search_get_use_delimiter | ( | LinphoneMagicSearch * | magic_search | ) |
Returns whether the delimiter is being used for the search.
magic_search | a LinphoneMagicSearch object |
LinphoneMagicSearch* linphone_magic_search_new | ( | LinphoneCore * | core | ) |
Constructs a LinphoneMagicSearch object.
core | a LinphoneCore object |
LinphoneMagicSearch* linphone_magic_search_ref | ( | LinphoneMagicSearch * | magic_search | ) |
Increment reference count of LinphoneMagicSearch object.
magic_search | a LinphoneMagicSearch object |
void linphone_magic_search_remove_callbacks | ( | LinphoneMagicSearch * | magic_search, |
LinphoneMagicSearchCbs * | cbs | ||
) |
Remove a listener from a LinphoneMagicSearch.
magic_search | LinphoneMagicSearch object |
cbs | LinphoneMagicSearchCbs object to remove. |
void linphone_magic_search_reset_search_cache | ( | LinphoneMagicSearch * | magic_search | ) |
Reset the cache to begin a new search.
magic_search | a LinphoneMagicSearch object |
void linphone_magic_search_set_delimiter | ( | LinphoneMagicSearch * | magic_search, |
const char * | delimiter | ||
) |
Set the delimiter used to find matched filter word.
magic_search | a LinphoneMagicSearch object |
delimiter | delimiter (example "-_.,") |
void linphone_magic_search_set_limited_search | ( | LinphoneMagicSearch * | magic_search, |
bool_t | limited | ||
) |
Enable or disable the limited search.
magic_search | a LinphoneMagicSearch object |
limited | TRUE to limit the search, FALSE otherwise |
void linphone_magic_search_set_max_weight | ( | LinphoneMagicSearch * | magic_search, |
unsigned int | weight | ||
) |
Set the maximum value used to calculate the weight in search.
magic_search | a LinphoneMagicSearch object |
weight | maximum weight |
void linphone_magic_search_set_min_weight | ( | LinphoneMagicSearch * | magic_search, |
unsigned int | weight | ||
) |
Set the minimum value used to calculate the weight in search.
magic_search | a LinphoneMagicSearch object |
weight | minimum weight |
void linphone_magic_search_set_search_limit | ( | LinphoneMagicSearch * | magic_search, |
unsigned int | limit | ||
) |
Set the number of the maximum SearchResult which will be returned.
magic_search | a LinphoneMagicSearch object |
limit | the maximum number of LinphoneSearchResult the search will return |
void linphone_magic_search_set_use_delimiter | ( | LinphoneMagicSearch * | magic_search, |
bool_t | enable | ||
) |
Enable or disable the delimiter in search.
magic_search | a LinphoneMagicSearch object |
enable | TRUE to use the delimiter, FALSE otherwise |
void linphone_magic_search_unref | ( | LinphoneMagicSearch * | magic_search | ) |
Decrement reference count of LinphoneMagicSearch object.
When dropped to zero, memory is freed.
magic_search | a LinphoneMagicSearch object |
void linphone_participant_device_add_callbacks | ( | LinphoneParticipantDevice * | participant_device, |
LinphoneParticipantDeviceCbs * | cbs | ||
) |
Add a listener in order to be notified of LinphoneParticipantDevice events.
Once an event is received, registred LinphoneParticipantDeviceCbs are invoked sequencially.
participant_device | LinphoneParticipantDevice object. |
cbs | A LinphoneParticipantDeviceCbs object holding the callbacks you need. A reference is taken by the LinphoneParticipantDevice until you invoke linphone_participant_device_remove_callbacks(). |
void* linphone_participant_device_create_native_video_window_id | ( | const LinphoneParticipantDevice * | participant_device | ) |
Create a window ID and return it.
participant_device | A LinphoneParticipantDevice object |
const LinphoneAddress* linphone_participant_device_get_address | ( | const LinphoneParticipantDevice * | participant_device | ) |
Get the address of a participant's device.
participant_device | A LinphoneParticipantDevice object |
LinphoneParticipantDeviceCbs* linphone_participant_device_get_current_callbacks | ( | const LinphoneParticipantDevice * | participant_device | ) |
Gets the current LinphoneParticipantDeviceCbs.
participant_device | LinphoneParticipantDevice object. |
LinphoneParticipantDeviceDisconnectionMethod linphone_participant_device_get_disconnection_method | ( | const LinphoneParticipantDevice * | participant_device | ) |
Get the disconnection method.
participant_device | A LinphoneParticipantDevice object |
const char* linphone_participant_device_get_disconnection_reason | ( | const LinphoneParticipantDevice * | participant_device | ) |
Get the disconnection reason.
participant_device | A LinphoneParticipantDevice object |
bool_t linphone_participant_device_get_is_muted | ( | const LinphoneParticipantDevice * | participant_device | ) |
Return whether the participant device is muted or not.
participant_device | The LinphoneParticipantDeviceCbs object |
bool_t linphone_participant_device_get_is_speaking | ( | const LinphoneParticipantDevice * | participant_device | ) |
Return whether the participant device is speaking or not.
participant_device | The LinphoneParticipantDeviceCbs object |
LinphoneParticipantDeviceJoiningMethod linphone_participant_device_get_joining_method | ( | const LinphoneParticipantDevice * | participant_device | ) |
Get the joining method or it the device is the focus owner.
participant_device | A LinphoneParticipantDevice object |
const char* linphone_participant_device_get_name | ( | const LinphoneParticipantDevice * | participant_device | ) |
Return the name of the device or NULL.
participant_device | A LinphoneParticipantDevice object |
void* linphone_participant_device_get_native_video_window_id | ( | const LinphoneParticipantDevice * | participant_device | ) |
Get window ID.
participant_device | A LinphoneParticipantDevice object |
LinphoneChatRoomSecurityLevel linphone_participant_device_get_security_level | ( | const LinphoneParticipantDevice * | participant_device | ) |
Get the security level of a participant's device.
participant_device | A LinphoneParticipantDevice object |
uint32_t linphone_participant_device_get_ssrc | ( | const LinphoneParticipantDevice * | participant_device, |
const LinphoneStreamType | stream_type | ||
) |
Get the audio stream SSRC of the device.
participant | A LinphoneParticipantDevice object |
stream_type | A LinphoneStreamType |
LinphoneParticipantDeviceState linphone_participant_device_get_state | ( | const LinphoneParticipantDevice * | participant_device | ) |
Get the state of a participant device.
participant_device | A LinphoneParticipantDevice object |
bool_t linphone_participant_device_get_stream_availability | ( | const LinphoneParticipantDevice * | participant_device, |
const LinphoneStreamType | stream_type | ||
) |
Get the stream availability of the device.
The availability information represents whether a given stream type is currently available to be presented in the conference for a LinphoneParticipantDevice
participant_device | A LinphoneParticipantDevice object |
stream_type | A LinphoneStreamType |
LinphoneMediaDirection linphone_participant_device_get_stream_capability | ( | const LinphoneParticipantDevice * | participant_device, |
const LinphoneStreamType | stream_type | ||
) |
Get the stream capability of the device.
The capability information represents the capability for the #ParticipantDevice to handle a given stream type (audio, video or text).
participant_device | A LinphoneParticipantDevice object |
stream_type | A LinphoneStreamType |
time_t linphone_participant_device_get_time_of_disconnection | ( | const LinphoneParticipantDevice * | participant_device | ) |
Get the timestamp the device left a conference.
participant_device | A LinphoneParticipantDevice object |
time_t linphone_participant_device_get_time_of_joining | ( | const LinphoneParticipantDevice * | participant_device | ) |
Get the timestamp the device joined a conference.
participant_device | A LinphoneParticipantDevice object |
void* linphone_participant_device_get_user_data | ( | const LinphoneParticipantDevice * | participant_device | ) |
Retrieve the user pointer associated with the participant's device.
participant_device | A LinphoneParticipantDevice object |
const LinphoneAddress* linphone_participant_device_identity_get_address | ( | const LinphoneParticipantDeviceIdentity * | deviceIdentity | ) |
Get the address of the participant device.
device_identity | the LinphoneParticipantDeviceIdentity |
MS2_DEPRECATED const char* linphone_participant_device_identity_get_capability_descriptor | ( | const LinphoneParticipantDeviceIdentity * | device_identity | ) |
Get the capability descriptor (currently +org.linphone.specs value) for this participant device identity.
device_identity | the LinphoneParticipantDeviceIdentity object |
const bctbx_list_t* linphone_participant_device_identity_get_capability_descriptor_list | ( | const LinphoneParticipantDeviceIdentity * | device_identity | ) |
Get the capability descriptor (currently +org.linphone.specs value) for this participant device identity.
device_identity | the LinphoneParticipantDeviceIdentity object |
LinphoneParticipantDeviceIdentity* linphone_participant_device_identity_new | ( | const LinphoneAddress * | address, |
const char * | name | ||
) |
Constructs a LinphoneParticipantDeviceIdentity object.
address | a LinphoneAddress of the participant device |
name | the name of the participant device |
LinphoneParticipantDeviceIdentity* linphone_participant_device_identity_ref | ( | LinphoneParticipantDeviceIdentity * | device_identity | ) |
Increment reference count of LinphoneParticipantDeviceIdentity object.
device_identity | the LinphoneParticipantDeviceIdentity object |
MS2_DEPRECATED void linphone_participant_device_identity_set_capability_descriptor | ( | LinphoneParticipantDeviceIdentity * | device_identity, |
const char * | capability_descriptor | ||
) |
Set the capability descriptor (currently +org.linphone.specs value) for this participant device identity.
device_identity | the LinphoneParticipantDeviceIdentity object |
capability_descriptor | the capability descriptor string. |
void linphone_participant_device_identity_set_capability_descriptor_2 | ( | LinphoneParticipantDeviceIdentity * | device_identity, |
const bctbx_list_t * | capability_descriptor_list | ||
) |
Set the capability descriptor (currently +org.linphone.specs value) for this participant device identity.
device_identity | the LinphoneParticipantDeviceIdentity object |
capability_descriptor_list | the capability descriptor list. |
void linphone_participant_device_identity_unref | ( | LinphoneParticipantDeviceIdentity * | device_identity | ) |
Decrement reference count of LinphoneParticipantDeviceIdentity object.
When dropped to zero, memory is freed.
device_identity | the LinphoneParticipantDeviceIdentity object |
bool_t linphone_participant_device_is_in_conference | ( | const LinphoneParticipantDevice * | participant_device | ) |
Return whether the participant device is in a conference or not.
participant_device | A LinphoneParticipantDevice object |
LinphoneParticipantDevice* linphone_participant_device_ref | ( | LinphoneParticipantDevice * | participant_device | ) |
Increment reference count of LinphoneParticipantDevice object.
participant_device | the LinphoneParticipantDevice object |
void linphone_participant_device_remove_callbacks | ( | LinphoneParticipantDevice * | participant_device, |
LinphoneParticipantDeviceCbs * | cbs | ||
) |
Remove a listener from a LinphoneParticipantDevice.
participant_device | LinphoneParticipantDevice object. |
cbs | LinphoneParticipantDeviceCbs object to remove. |
void linphone_participant_device_set_native_video_window_id | ( | LinphoneParticipantDevice * | participant_device, |
void * | window_id | ||
) |
Set window ID for a device.
participant_device | A LinphoneParticipantDevice object |
window_id | the window ID of the device |
void linphone_participant_device_set_user_data | ( | LinphoneParticipantDevice * | participant_device, |
void * | user_data | ||
) |
Assign a user pointer to the participant's device.
participant_device | A LinphoneParticipantDevice object |
user_data | The user pointer to associate with the participant's device. |
void linphone_participant_device_unref | ( | LinphoneParticipantDevice * | participant_device | ) |
Decrement reference count of LinphoneParticipantDevice object.
participant_device | the LinphoneParticipantDevice object |
LinphoneParticipantDevice* linphone_participant_find_device | ( | const LinphoneParticipant * | participant, |
const LinphoneAddress * | address | ||
) |
Find a device in the list of devices from a chat room's participant.
participant | A LinphoneParticipant object |
address | A LinphoneAddress object |
LinphoneParticipantDevice* linphone_participant_find_device_2 | ( | const LinphoneParticipant * | participant, |
const LinphoneCall * | call | ||
) |
Find a device in the list of devices from a chat room's participant.
participant | A LinphoneParticipant object |
call | A LinphoneCall object |
const LinphoneAddress* linphone_participant_get_address | ( | const LinphoneParticipant * | participant | ) |
Get the address of a conference participant.
participant | A LinphoneParticipant object |
time_t linphone_participant_get_creation_time | ( | const LinphoneParticipant * | participant | ) |
Get the timestamp of the creation of the participant.
participant | A LinphoneParticipant object |
bctbx_list_t* linphone_participant_get_devices | ( | const LinphoneParticipant * | participant | ) |
Gets the list of devices from a chat room's participant.
participant | A LinphoneParticipant object |
LinphoneParticipantRole linphone_participant_get_role | ( | const LinphoneParticipant * | participant | ) |
Get the role of the participant within the conference.
participant | A LinphoneParticipant object |
LinphoneChatRoomSecurityLevel linphone_participant_get_security_level | ( | const LinphoneParticipant * | participant | ) |
Get the security level of a participant.
participant | A LinphoneParticipant object |
void* linphone_participant_get_user_data | ( | const LinphoneParticipant * | participant | ) |
Retrieve the user pointer associated with the conference participant.
participant | A LinphoneParticipant object |
const LinphoneParticipant* linphone_participant_imdn_state_get_participant | ( | const LinphoneParticipantImdnState * | state | ) |
Get the participant concerned by a LinphoneParticipantImdnState.
state | A LinphoneParticipantImdnState object |
LinphoneChatMessageState linphone_participant_imdn_state_get_state | ( | const LinphoneParticipantImdnState * | state | ) |
Get the chat message state the participant is in.
state | A LinphoneParticipantImdnState object |
time_t linphone_participant_imdn_state_get_state_change_time | ( | const LinphoneParticipantImdnState * | state | ) |
Get the timestamp at which a participant has reached the state described by a LinphoneParticipantImdnState.
state | A LinphoneParticipantImdnState object |
void* linphone_participant_imdn_state_get_user_data | ( | const LinphoneParticipantImdnState * | state | ) |
Retrieve the user pointer associated with a LinphoneParticipantImdnState.
state | A LinphoneParticipantImdnState object |
LinphoneParticipantImdnState* linphone_participant_imdn_state_ref | ( | LinphoneParticipantImdnState * | state | ) |
Increment reference count of LinphoneParticipantImdnState object.
state | the LinphoneParticipantImdnState object |
void linphone_participant_imdn_state_set_user_data | ( | LinphoneParticipantImdnState * | state, |
void * | user_data | ||
) |
Assign a user pointer to a LinphoneParticipantImdnState.
state | A LinphoneParticipantImdnState object |
user_data | The user pointer to associate with the LinphoneParticipantImdnState. |
void linphone_participant_imdn_state_unref | ( | LinphoneParticipantImdnState * | state | ) |
Decrement reference count of LinphoneParticipantImdnState object.
state | the LinphoneParticipantImdnState object |
bool_t linphone_participant_is_admin | ( | const LinphoneParticipant * | participant | ) |
Tells whether a conference participant is an administrator of the conference.
participant | A LinphoneParticipant object |
bool_t linphone_participant_is_focus | ( | const LinphoneParticipant * | participant | ) |
Tells whether a conference participant is the focus of the conference.
participant | A LinphoneParticipant object |
LinphoneParticipant* linphone_participant_ref | ( | LinphoneParticipant * | participant | ) |
Increment reference count of LinphoneParticipant object.
participant | a LinphoneParticipant object |
void linphone_participant_set_user_data | ( | LinphoneParticipant * | participant, |
void * | user_data | ||
) |
Assign a user pointer to the conference participant.
participant | A LinphoneParticipant object |
user_data | The user pointer to associate with the participant. |
void linphone_participant_unref | ( | LinphoneParticipant * | participant | ) |
Decrement reference count of LinphoneParticipant object.
participant | a LinphoneParticipant object |
LinphonePushNotificationConfig* linphone_push_notification_config_clone | ( | const LinphonePushNotificationConfig * | push_cfg | ) |
Instantiate a new push notification parameters with values from source.
push_cfg | The LinphonePushNotificationConfig object to be cloned. |
const char* linphone_push_notification_config_get_bundle_identifier | ( | const LinphonePushNotificationConfig * | push_cfg | ) |
Gets the app's bundle identifier for "contact uri parameter".
push_cfg | The LinphonePushNotificationConfig object |
const char* linphone_push_notification_config_get_call_snd | ( | const LinphonePushNotificationConfig * | push_cfg | ) |
Gets the call_snd for "contact uri parameter".
push_cfg | The LinphonePushNotificationConfig object |
const char* linphone_push_notification_config_get_call_str | ( | const LinphonePushNotificationConfig * | push_cfg | ) |
Gets the call_str for "contact uri parameter".
push_cfg | The LinphonePushNotificationConfig object |
const char* linphone_push_notification_config_get_group_chat_str | ( | const LinphonePushNotificationConfig * | push_cfg | ) |
Gets the groupchat_str for "contact uri parameter".
push_cfg | The LinphonePushNotificationConfig object |
const char* linphone_push_notification_config_get_msg_snd | ( | const LinphonePushNotificationConfig * | push_cfg | ) |
Gets the msg_snd for "contact uri parameter".
push_cfg | The LinphonePushNotificationConfig object |
const char* linphone_push_notification_config_get_msg_str | ( | const LinphonePushNotificationConfig * | push_cfg | ) |
Gets the msg_str for "contact uri parameter".
push_cfg | The LinphonePushNotificationConfig object |
const char* linphone_push_notification_config_get_param | ( | const LinphonePushNotificationConfig * | push_cfg | ) |
Gets the param for "contact uri parameter".
push_cfg | The LinphonePushNotificationConfig object |
const char* linphone_push_notification_config_get_prid | ( | const LinphonePushNotificationConfig * | push_cfg | ) |
Gets the prid for "contact uri parameter".
push_cfg | The LinphonePushNotificationConfig object |
const char* linphone_push_notification_config_get_provider | ( | const LinphonePushNotificationConfig * | push_cfg | ) |
Gets the provider for "contact uri parameter".
push_cfg | The LinphonePushNotificationConfig object |
const char* linphone_push_notification_config_get_remote_token | ( | const LinphonePushNotificationConfig * | push_cfg | ) |
Gets the remote token for "contact uri parameter".
push_cfg | The LinphonePushNotificationConfig object |
const char* linphone_push_notification_config_get_team_id | ( | const LinphonePushNotificationConfig * | push_cfg | ) |
Gets the team id for "contact uri parameter".
push_cfg | The LinphonePushNotificationConfig object |
const char* linphone_push_notification_config_get_voip_token | ( | const LinphonePushNotificationConfig * | push_cfg | ) |
Gets the voip token for "contact uri parameter".
push_cfg | The LinphonePushNotificationConfig object |
bool_t linphone_push_notification_config_is_equal | ( | const LinphonePushNotificationConfig * | push_cfg, |
const LinphonePushNotificationConfig * | other_config | ||
) |
Checks if two Push Notification Configurations are identical.
push_cfg | The LinphonePushNotificationConfig object to be compared. |
other_config | The LinphonePushNotificationConfig object to compare to. |
LinphonePushNotificationConfig* linphone_push_notification_config_ref | ( | LinphonePushNotificationConfig * | push_cfg | ) |
Take a reference on a LinphonePushNotificationConfig.
push_cfg | the LinphonePushNotificationConfig object |
void linphone_push_notification_config_set_bundle_identifier | ( | LinphonePushNotificationConfig * | push_cfg, |
const char * | bundle_identifier | ||
) |
Sets the bundle_identifier for "contact uri parameter".
It's not necessary if param is set. See linphone_push_notification_config_set_param().
push_cfg | The LinphonePushNotificationConfig object |
bundle_identifier | The new bundle_identifier set for push notification config. |
void linphone_push_notification_config_set_call_snd | ( | LinphonePushNotificationConfig * | push_cfg, |
const char * | call_snd | ||
) |
Sets the call_snd for "contact uri parameter", specific for remote push notification.
push_cfg | The LinphonePushNotificationConfig object |
call_snd | The new call_snd set for push notification config. |
void linphone_push_notification_config_set_call_str | ( | LinphonePushNotificationConfig * | push_cfg, |
const char * | call_str | ||
) |
Sets the call_str for "contact uri parameter", specific for remote push notification.
push_cfg | The LinphonePushNotificationConfig object |
call_str | The new call_str set for push notification config. |
void linphone_push_notification_config_set_group_chat_str | ( | LinphonePushNotificationConfig * | push_cfg, |
const char * | group_chat_str | ||
) |
Sets the group_chat_str for "contact uri parameter", specific for remote push notification.
push_cfg | The LinphonePushNotificationConfig object |
group_chat_str | The new group_chat_str set for push notification config. |
void linphone_push_notification_config_set_msg_snd | ( | LinphonePushNotificationConfig * | push_cfg, |
const char * | msg_snd | ||
) |
Sets the msg_snd for "contact uri parameter", specific for remote push notification.
push_cfg | The LinphonePushNotificationConfig object |
msg_snd | The new msg_snd set for push notification config. |
void linphone_push_notification_config_set_msg_str | ( | LinphonePushNotificationConfig * | push_cfg, |
const char * | msg_str | ||
) |
Sets the msg_str for "contact uri parameter", specific for remote push notification.
push_cfg | The LinphonePushNotificationConfig object |
msg_str | The new msg_str set for push notification config. |
void linphone_push_notification_config_set_param | ( | LinphonePushNotificationConfig * | push_cfg, |
const char * | param | ||
) |
Sets the param for "contact uri parameter".
If it's not set, "team_id.bundle_identifier.services" will be used.
push_cfg | The LinphonePushNotificationConfig object |
param | The new param set for push notification config. |
void linphone_push_notification_config_set_prid | ( | LinphonePushNotificationConfig * | push_cfg, |
const char * | prid | ||
) |
Sets the prid for "contact uri parameter".
If it's not set, "voip_token&remote_token" will be used.
push_cfg | The LinphonePushNotificationConfig object |
prid | The new prid set for push notification config. |
void linphone_push_notification_config_set_provider | ( | LinphonePushNotificationConfig * | push_cfg, |
const char * | provider | ||
) |
Sets the provider for "contact uri parameter".
If not set, the default value will be used for "contact uri parameter", "firebase" for android or "apns" for ios.
push_cfg | The LinphonePushNotificationConfig object |
provider | The new provider set for push notification config. |
void linphone_push_notification_config_set_remote_push_interval | ( | LinphonePushNotificationConfig * | push_cfg, |
const char * | remote_push_interval | ||
) |
Specifies the interval in seconds between to subsequent remote push notifications when remote push notifications are used to notify a call invite to clients that haven't published any token for VoIP and background push notifications.
In that case, several PNs are sent subsequently until the call is picked up, declined or canceled. This parameter sets a value for 'pn-call-remote-push-interval' Contact header inside SIP REGISTER requests. A value of zero will cause the deactivation of push notification repetitions and the sending of the final notification. Thus, only the first push notification will be sent. If specified the value must be in [0;30] If not specified 'pn-call-remote-push-interval' will not be added to Contact header.
push_cfg | The LinphonePushNotificationConfig object |
remote_push_interval | The new remote push interval set for push notification config. |
void linphone_push_notification_config_set_remote_token | ( | LinphonePushNotificationConfig * | push_cfg, |
const char * | remote_token | ||
) |
Sets the remote_token for "contact uri parameter", specific for remote push notification.
It's not necessary if prid is set. See linphone_push_notification_config_set_prid().
push_cfg | The LinphonePushNotificationConfig object |
remote_token | The new remote_token set for push notification config. |
void linphone_push_notification_config_set_team_id | ( | LinphonePushNotificationConfig * | push_cfg, |
const char * | team_id | ||
) |
Sets the team id for "contact uri parameter".
It's not necessary if param is set. See linphone_push_notification_config_set_param().
push_cfg | The LinphonePushNotificationConfig object |
team_id | The new team id set for push notification config. |
void linphone_push_notification_config_set_voip_token | ( | LinphonePushNotificationConfig * | push_cfg, |
const char * | voip_token | ||
) |
Sets the voip_token for "contact uri parameter", specific for voip push notification.
It's not necessary if prid is set. See linphone_push_notification_config_set_prid().
push_cfg | The LinphonePushNotificationConfig object |
voip_token | The new voip_token set for push notification config. |
void linphone_push_notification_config_unref | ( | LinphonePushNotificationConfig * | push_cfg | ) |
Release a LinphonePushNotificationConfig.
push_cfg | the LinphonePushNotificationConfig object |
const char* linphone_push_notification_message_get_call_id | ( | const LinphonePushNotificationMessage * | message | ) |
const LinphoneAddress* linphone_push_notification_message_get_from_addr | ( | const LinphonePushNotificationMessage * | message | ) |
Gets the from address.
message | The LinphonePushNotificationMessage object |
const LinphoneAddress* linphone_push_notification_message_get_local_addr | ( | const LinphonePushNotificationMessage * | message | ) |
Gets the local address.
message | The LinphonePushNotificationMessage object |
const LinphoneAddress* linphone_push_notification_message_get_peer_addr | ( | const LinphonePushNotificationMessage * | message | ) |
Gets the peer address.
message | The LinphonePushNotificationMessage object |
const char* linphone_push_notification_message_get_reaction_content | ( | const LinphonePushNotificationMessage * | message | ) |
Gets the reaction content.
message | The LinphonePushNotificationMessage object |
const char* linphone_push_notification_message_get_subject | ( | const LinphonePushNotificationMessage * | message | ) |
Gets the subject.
message | The LinphonePushNotificationMessage object |
const char* linphone_push_notification_message_get_text_content | ( | const LinphonePushNotificationMessage * | message | ) |
Gets the text content.
message | The LinphonePushNotificationMessage object |
bool_t linphone_push_notification_message_is_conference_invitation_cancellation | ( | const LinphonePushNotificationMessage * | message | ) |
Tells whether or not this message contains a conference invitation cancellation.
message | The LinphonePushNotificationMessage object |
bool_t linphone_push_notification_message_is_conference_invitation_new | ( | const LinphonePushNotificationMessage * | message | ) |
Tells whether or not this message contains a new conference invitation.
message | The LinphonePushNotificationMessage object |
bool_t linphone_push_notification_message_is_conference_invitation_update | ( | const LinphonePushNotificationMessage * | message | ) |
Tells whether or not this message contains a conference invitation update.
message | The LinphonePushNotificationMessage object |
bool_t linphone_push_notification_message_is_icalendar | ( | const LinphonePushNotificationMessage * | message | ) |
Tells whether or not this message contains an icalendar by checking it's content type.
message | The LinphonePushNotificationMessage object |
bool_t linphone_push_notification_message_is_text | ( | const LinphonePushNotificationMessage * | message | ) |
Returns wether it is a text message or not.
message | The LinphonePushNotificationMessage object |
LinphonePushNotificationMessage* linphone_push_notification_message_ref | ( | LinphonePushNotificationMessage * | message | ) |
Take a reference on a LinphonePushNotificationMessage.
message | the LinphonePushNotificationMessage object |
void linphone_push_notification_message_unref | ( | LinphonePushNotificationMessage * | message | ) |
Release a LinphonePushNotificationMessage.
message | the LinphonePushNotificationMessage object |
int linphone_range_get_max | ( | const LinphoneRange * | range | ) |
int linphone_range_get_min | ( | const LinphoneRange * | range | ) |
void* linphone_range_get_user_data | ( | const LinphoneRange * | range | ) |
Gets the user data in the LinphoneRange object.
range | the LinphoneRange |
LinphoneRange* linphone_range_ref | ( | LinphoneRange * | range | ) |
void linphone_range_set_max | ( | LinphoneRange * | range, |
int | max | ||
) |
Sets the higher value of the range.
range | a LinphoneRange |
max | the value to set |
void linphone_range_set_min | ( | LinphoneRange * | range, |
int | min | ||
) |
Sets the lower value of the range.
range | a LinphoneRange |
min | the value to set |
void linphone_range_set_user_data | ( | LinphoneRange * | range, |
void * | user_data | ||
) |
Sets the user data in the LinphoneRange object.
range | the LinphoneRange object |
user_data | the user data |
void linphone_range_unref | ( | LinphoneRange * | range | ) |
Decrement refcount and possibly free the object.
range | LinphoneRange object |
int linphone_reason_to_error_code | ( | LinphoneReason | reason | ) |
Converts a LinphoneReason to an error code.
reason | A LinphoneReason |
const char* linphone_reason_to_string | ( | LinphoneReason | error | ) |
Converts a LinphoneReason enum to a string.
error | A LinphoneReason |
const LinphoneAddress* linphone_search_result_get_address | ( | const LinphoneSearchResult * | search_result | ) |
Gets the address of the search result if any.
search_result | the LinphoneSearchResult object |
int linphone_search_result_get_capabilities | ( | const LinphoneSearchResult * | search_result | ) |
Returns the capabilities mask of the search result.
search_result | the LinphoneSearchResult object |
LinphoneFriend* linphone_search_result_get_friend | ( | const LinphoneSearchResult * | search_result | ) |
Gets the friend of the search result if any.
search_result | the LinphoneSearchResult object |
const char* linphone_search_result_get_phone_number | ( | const LinphoneSearchResult * | search_result | ) |
Gets the phone number of the search result if any.
search_result | the LinphoneSearchResult object |
int linphone_search_result_get_source_flags | ( | const LinphoneSearchResult * | search_result | ) |
Gets source flags of the search result.
search_result | the LinphoneSearchResult object |
unsigned int linphone_search_result_get_weight | ( | const LinphoneSearchResult * | search_result | ) |
Gets the weight of the search result.
search_result | the LinphoneSearchResult object |
bool_t linphone_search_result_has_capability | ( | const LinphoneSearchResult * | search_result, |
const LinphoneFriendCapability | capability | ||
) |
Returns whether or not the search result has the given capability.
search_result | the LinphoneSearchResult object |
capability | the LinphoneFriendCapability to check |
LinphoneSearchResult* linphone_search_result_ref | ( | LinphoneSearchResult * | search_result | ) |
Increment reference count of LinphoneSearchResult object.
search_result | the LinphoneSearchResult object |
void linphone_search_result_unref | ( | LinphoneSearchResult * | search_result | ) |
Decrement reference count of LinphoneSearchResult object.
When dropped to zero, memory is freed.
search_result | the LinphoneSearchResult object |
LinphoneTransportType linphone_transport_parse | ( | const char * | transport | ) |
Converts a lowercase string to a LinphoneTransportType enum.
transport | the transport to parse. |
const char* linphone_transport_to_string | ( | LinphoneTransportType | transport | ) |
Converts a LinphoneTransportType enum to a lowercase string.
transport | a LinphoneTransportType to convert to string |
void linphone_xml_rpc_request_add_callbacks | ( | LinphoneXmlRpcRequest * | request, |
LinphoneXmlRpcRequestCbs * | cbs | ||
) |
Add the current LinphoneXmlRpcRequestCbs object to a LinphoneXmlRpcRequest.
request | LinphoneXmlRpcRequest object |
cbs | The LinphoneXmlRpcRequestCbs object to add to the LinphoneXmlRpcRequest. |
void linphone_xml_rpc_request_add_int_arg | ( | LinphoneXmlRpcRequest * | request, |
int | value | ||
) |
Add an integer argument to an XML-RPC request.
request | LinphoneXmlRpcRequest object. |
value | The integer value of the added argument. |
void linphone_xml_rpc_request_add_string_arg | ( | LinphoneXmlRpcRequest * | request, |
const char * | value | ||
) |
Add a string argument to an XML-RPC request.
request | LinphoneXmlRpcRequest object. |
value | The string value of the added argument. |
LinphoneXmlRpcRequestCbsResponseCb linphone_xml_rpc_request_cbs_get_response | ( | const LinphoneXmlRpcRequestCbs * | cbs | ) |
Get the response callback.
cbs | LinphoneXmlRpcRequestCbs object. |
void* linphone_xml_rpc_request_cbs_get_user_data | ( | const LinphoneXmlRpcRequestCbs * | cbs | ) |
Retrieve the user pointer associated with a LinphoneXmlRpcRequestCbs object.
cbs | LinphoneXmlRpcRequestCbs object. |
LinphoneXmlRpcRequestCbs* linphone_xml_rpc_request_cbs_ref | ( | LinphoneXmlRpcRequestCbs * | cbs | ) |
Acquire a reference to a LinphoneXmlRpcRequestCbs object.
cbs | LinphoneXmlRpcRequestCbs object. |
void linphone_xml_rpc_request_cbs_set_response | ( | LinphoneXmlRpcRequestCbs * | cbs, |
LinphoneXmlRpcRequestCbsResponseCb | cb | ||
) |
Set the response callback.
cbs | LinphoneXmlRpcRequestCbs object. |
cb | The response callback to be used. |
void linphone_xml_rpc_request_cbs_set_user_data | ( | LinphoneXmlRpcRequestCbs * | cbs, |
void * | user_data | ||
) |
Assign a user pointer to a LinphoneXmlRpcRequestCbs object.
cbs | LinphoneXmlRpcRequestCbs object. |
user_data | The user pointer to associate with the LinphoneXmlRpcRequestCbs object. |
void linphone_xml_rpc_request_cbs_unref | ( | LinphoneXmlRpcRequestCbs * | cbs | ) |
Release a reference to a LinphoneXmlRpcRequestCbs object.
cbs | LinphoneXmlRpcRequestCbs object. |
MS2_DEPRECATED LinphoneXmlRpcRequestCbs* linphone_xml_rpc_request_get_callbacks | ( | const LinphoneXmlRpcRequest * | request | ) |
Get the LinphoneXmlRpcRequestCbs object associated with a LinphoneXmlRpcRequest.
request | LinphoneXmlRpcRequest object |
const char* linphone_xml_rpc_request_get_content | ( | const LinphoneXmlRpcRequest * | request | ) |
Get the content of the XML-RPC request.
request | LinphoneXmlRpcRequest object. |
LinphoneXmlRpcRequestCbs* linphone_xml_rpc_request_get_current_callbacks | ( | const LinphoneXmlRpcRequest * | request | ) |
Get the current LinphoneXmlRpcRequestCbs object associated with a LinphoneXmlRpcRequest.
request | LinphoneXmlRpcRequest object |
int linphone_xml_rpc_request_get_int_response | ( | const LinphoneXmlRpcRequest * | request | ) |
Get the response to an XML-RPC request sent with linphone_xml_rpc_session_send_request() and returning an integer response.
request | LinphoneXmlRpcRequest object. |
const bctbx_list_t* linphone_xml_rpc_request_get_list_response | ( | const LinphoneXmlRpcRequest * | request | ) |
Get the response to an XML-RPC request sent with linphone_xml_rpc_session_send_request() and returning a string response.
request | LinphoneXmlRpcRequest object. |
const char* linphone_xml_rpc_request_get_raw_response | ( | const LinphoneXmlRpcRequest * | request | ) |
Get the raw response to an XML-RPC request sent with linphone_xml_rpc_session_send_request() and returning http body as string.
request | LinphoneXmlRpcRequest object. |
LinphoneXmlRpcStatus linphone_xml_rpc_request_get_status | ( | const LinphoneXmlRpcRequest * | request | ) |
Get the status of the XML-RPC request.
request | LinphoneXmlRpcRequest object. |
const char* linphone_xml_rpc_request_get_string_response | ( | const LinphoneXmlRpcRequest * | request | ) |
Get the response to an XML-RPC request sent with linphone_xml_rpc_session_send_request() and returning a string response.
request | LinphoneXmlRpcRequest object. |
const bctbx_map_t* linphone_xml_rpc_request_get_string_struct_response | ( | const LinphoneXmlRpcRequest * | request | ) |
Get the response to an XML-RPC request sent with linphone_xml_rpc_session_send_request() and returning a struct response.
request | LinphoneXmlRpcRequest object. |
void* linphone_xml_rpc_request_get_user_data | ( | const LinphoneXmlRpcRequest * | request | ) |
Retrieve the user pointer associated with the XML-RPC request.
request | LinphoneXmlRpcRequest object. |
LinphoneXmlRpcRequest* linphone_xml_rpc_request_new | ( | LinphoneXmlRpcArgType | return_type, |
const char * | method | ||
) |
Create a new LinphoneXmlRpcRequest object.
return_type | The expected XML-RPC response type as LinphoneXmlRpcArgType. |
method | The XML-RPC method to call. |
LinphoneXmlRpcRequest* linphone_xml_rpc_request_ref | ( | LinphoneXmlRpcRequest * | request | ) |
Acquire a reference to the XML-RPC request.
request | LinphoneXmlRpcRequest object. |
void linphone_xml_rpc_request_remove_callbacks | ( | LinphoneXmlRpcRequest * | request, |
LinphoneXmlRpcRequestCbs * | cbs | ||
) |
Remove the current LinphoneXmlRpcRequestCbs object from a LinphoneXmlRpcRequest.
request | LinphoneXmlRpcRequest object |
cbs | The LinphoneXmlRpcRequestCbs object to remove from the LinphoneXmlRpcRequest. |
void linphone_xml_rpc_request_set_user_data | ( | LinphoneXmlRpcRequest * | request, |
void * | user_data | ||
) |
Assign a user pointer to the XML-RPC request.
request | LinphoneXmlRpcRequest object. |
user_data | The user pointer to associate with the XML-RPC request. |
void linphone_xml_rpc_request_unref | ( | LinphoneXmlRpcRequest * | request | ) |
Release reference to the XML-RPC request.
request | LinphoneXmlRpcRequest object. |
LinphoneXmlRpcRequest* linphone_xml_rpc_session_create_request | ( | LinphoneXmlRpcSession * | session, |
LinphoneXmlRpcArgType | return_type, | ||
const char * | method | ||
) |
Creates a LinphoneXmlRpcRequest from a LinphoneXmlRpcSession.
session | the LinphoneXmlRpcSession |
return_type | the return type of the request as a LinphoneXmlRpcArgType |
method | the function name to call |
void* linphone_xml_rpc_session_get_user_data | ( | const LinphoneXmlRpcSession * | session | ) |
Retrieve the user pointer associated with the XML-RPC session.
session | LinphoneXmlRpcSession object. |
LinphoneXmlRpcSession* linphone_xml_rpc_session_new | ( | LinphoneCore * | core, |
const char * | url | ||
) |
Create a new LinphoneXmlRpcSession object.
core | The LinphoneCore object used to send the XML-RPC requests. |
url | The URL of the XML-RPC server to send the XML-RPC requests to. |
LinphoneXmlRpcSession* linphone_xml_rpc_session_ref | ( | LinphoneXmlRpcSession * | session | ) |
Acquire a reference to the XML-RPC session.
session | LinphoneXmlRpcSession object. |
void linphone_xml_rpc_session_release | ( | LinphoneXmlRpcSession * | session | ) |
Stop and unref an XML rpc session.
Pending requests will be aborted.
session | LinphoneXmlRpcSession object. |
void linphone_xml_rpc_session_send_request | ( | LinphoneXmlRpcSession * | session, |
LinphoneXmlRpcRequest * | request | ||
) |
Send an XML-RPC request.
session | LinphoneXmlRpcSession object. |
request | The LinphoneXmlRpcRequest to be sent. |
void linphone_xml_rpc_session_set_user_data | ( | LinphoneXmlRpcSession * | session, |
void * | user_data | ||
) |
Assign a user pointer to the XML-RPC session.
session | LinphoneXmlRpcSession object. |
user_data | The user pointer to associate with the XML-RPC session. |
void linphone_xml_rpc_session_unref | ( | LinphoneXmlRpcSession * | session | ) |
Release reference to the XML-RPC session.
session | LinphoneXmlRpcSession object. |