Removed unused reload_config() API function

This commit is contained in:
Juha Heinanen
2023-05-27 12:10:09 +03:00
parent 3c116e1b02
commit 35099507d7
2 changed files with 0 additions and 15 deletions

View File

@ -1357,20 +1357,6 @@ JNIEXPORT void JNICALL Java_com_tutpro_baresip_Api_call_1destroy(
re_thread_leave();
}
JNIEXPORT jint JNICALL Java_com_tutpro_baresip_Api_reload_1config(JNIEnv *env, jobject thiz)
{
int err;
re_thread_enter();
err = conf_configure();
re_thread_leave();
if (err) {
LOGE("failed to reload config %d\n", err);
} else {
LOGD("config reload succeeded");
}
return err;
}
JNIEXPORT jint JNICALL Java_com_tutpro_baresip_Api_cmd_1exec(
JNIEnv *env, jobject thiz, jstring javaCmd)
{

View File

@ -103,7 +103,6 @@ object Api {
external fun cmd_exec(cmd: String): Int
external fun reload_config(): Int
external fun module_load(module: String): Int
external fun module_unload(module: String)