mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-27 07:59:20 +00:00
Added a few missing getters for some properties
This commit is contained in:
parent
a8283e6f88
commit
47322a211d
5 changed files with 42 additions and 0 deletions
|
|
@ -1715,6 +1715,10 @@ void linphone_core_set_friends_database_path(LinphoneCore *lc, const char *path)
|
|||
}
|
||||
}
|
||||
|
||||
const char* linphone_core_get_friends_database_path(LinphoneCore *lc) {
|
||||
return lc->friends_db_file;
|
||||
}
|
||||
|
||||
void linphone_core_migrate_friends_from_rc_to_db(LinphoneCore *lc) {
|
||||
LpConfig *lpc = NULL;
|
||||
LinphoneFriend *lf = NULL;
|
||||
|
|
|
|||
|
|
@ -1112,3 +1112,7 @@ void linphone_friend_list_enable_subscriptions(LinphoneFriendList *list, bool_t
|
|||
|
||||
}
|
||||
}
|
||||
|
||||
bool_t linphone_friend_list_subscriptions_enabled(LinphoneFriendList *list) {
|
||||
return list->enable_subscriptions;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4657,6 +4657,10 @@ void linphone_core_set_call_logs_database_path(LinphoneCore *lc, const char *pat
|
|||
}
|
||||
}
|
||||
|
||||
const char * linphone_core_get_call_logs_database_path(LinphoneCore *lc) {
|
||||
return lc->logs_db_file;
|
||||
}
|
||||
|
||||
const bctbx_list_t* linphone_core_get_call_logs(LinphoneCore *lc) {
|
||||
#ifdef SQLITE_STORAGE_ENABLED
|
||||
if (lc->logs_db) {
|
||||
|
|
|
|||
|
|
@ -721,6 +721,13 @@ LINPHONE_PUBLIC void linphone_core_set_log_collection_max_file_size(size_t size)
|
|||
*/
|
||||
LINPHONE_PUBLIC void linphone_core_set_log_collection_upload_server_url(LinphoneCore *core, const char *server_url);
|
||||
|
||||
/**
|
||||
* Gets the url of the server where to upload the collected log files.
|
||||
* @param[in] core LinphoneCore object
|
||||
* @return The url of the server where to upload the collected log files.
|
||||
*/
|
||||
LINPHONE_PUBLIC const char * linphone_core_get_log_collection_upload_server_url(LinphoneCore *core);
|
||||
|
||||
/**
|
||||
* Upload the log collection to the configured server url.
|
||||
* @param[in] core LinphoneCore object
|
||||
|
|
@ -3106,6 +3113,14 @@ LINPHONE_PUBLIC void linphone_core_remove_call_log(LinphoneCore *lc, LinphoneCal
|
|||
**/
|
||||
LINPHONE_PUBLIC void linphone_core_set_call_logs_database_path(LinphoneCore *lc, const char *path);
|
||||
|
||||
/**
|
||||
* Gets the database filename where call logs will be stored.
|
||||
* @ingroup initializing
|
||||
* @param lc the linphone core
|
||||
* @return filesystem path
|
||||
**/
|
||||
LINPHONE_PUBLIC const char * linphone_core_get_call_logs_database_path(LinphoneCore *lc);
|
||||
|
||||
/**
|
||||
* Migrates the call logs from the linphonerc to the database if not done yet
|
||||
* @ingroup initializing
|
||||
|
|
@ -5054,6 +5069,14 @@ LINPHONE_PUBLIC LinphoneFriend *linphone_core_get_friend_by_ref_key(const Linpho
|
|||
**/
|
||||
LINPHONE_PUBLIC void linphone_core_set_friends_database_path(LinphoneCore *lc, const char *path);
|
||||
|
||||
/**
|
||||
* Gets the database filename where friends will be stored.
|
||||
* @ingroup initializing
|
||||
* @param lc the linphone core
|
||||
* @return filesystem path
|
||||
**/
|
||||
LINPHONE_PUBLIC const char* linphone_core_get_friends_database_path(LinphoneCore *lc);
|
||||
|
||||
/**
|
||||
* Migrates the friends from the linphonerc to the database if not done yet
|
||||
* @ingroup initializing
|
||||
|
|
|
|||
|
|
@ -333,6 +333,13 @@ LINPHONE_PUBLIC void linphone_friend_list_export_friends_as_vcard4_file(Linphone
|
|||
*/
|
||||
LINPHONE_PUBLIC void linphone_friend_list_enable_subscriptions(LinphoneFriendList *list, bool_t enabled);
|
||||
|
||||
/**
|
||||
* Gets whether subscription to NOTIFYes of all friends list are enabled or not
|
||||
* @param[in] list the LinphoneFriendList object
|
||||
* @return Whether subscriptions are enabled or not
|
||||
*/
|
||||
LINPHONE_PUBLIC bool_t linphone_friend_list_subscriptions_enabled(LinphoneFriendList *list);
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue