Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
47322a21
Commit
47322a21
authored
Apr 21, 2017
by
Sylvain Berfini
🐮
Browse files
Added a few missing getters for some properties
parent
a8283e6f
Changes
5
Hide whitespace changes
Inline
Side-by-side
coreapi/friend.c
View file @
47322a21
...
...
@@ -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
;
...
...
coreapi/friendlist.c
View file @
47322a21
...
...
@@ -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
;
}
coreapi/linphonecore.c
View file @
47322a21
...
...
@@ -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
)
{
...
...
include/linphone/core.h
View file @
47322a21
...
...
@@ -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
...
...
include/linphone/friendlist.h
View file @
47322a21
...
...
@@ -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
);
/**
* @}
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment