Removed unused reload_config() API function
This commit is contained in:
@@ -1357,20 +1357,6 @@ JNIEXPORT void JNICALL Java_com_tutpro_baresip_Api_call_1destroy(
|
|||||||
re_thread_leave();
|
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(
|
JNIEXPORT jint JNICALL Java_com_tutpro_baresip_Api_cmd_1exec(
|
||||||
JNIEnv *env, jobject thiz, jstring javaCmd)
|
JNIEnv *env, jobject thiz, jstring javaCmd)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -103,7 +103,6 @@ object Api {
|
|||||||
|
|
||||||
external fun cmd_exec(cmd: String): Int
|
external fun cmd_exec(cmd: String): Int
|
||||||
|
|
||||||
external fun reload_config(): Int
|
|
||||||
external fun module_load(module: String): Int
|
external fun module_load(module: String): Int
|
||||||
external fun module_unload(module: String)
|
external fun module_unload(module: String)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user