From 95664d6879e95dabc919bb9a7413a85ef751600a Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 23 Feb 2017 16:44:45 +0100 Subject: [PATCH] add doc on `linphone_core_get_mtu` & remove it in linphonecore.c --- coreapi/linphonecore.c | 5 ----- include/linphone/core.h | 4 ++++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index 63f538acf..cf1b39770 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -5181,11 +5181,6 @@ void linphone_core_set_user_data(LinphoneCore *lc, void *userdata){ lc->data=userdata; } -/** - * Returns the maximum transmission unit size in bytes. - * - * @ingroup media_parameters -**/ int linphone_core_get_mtu(const LinphoneCore *lc){ return lc->net_conf.mtu; } diff --git a/include/linphone/core.h b/include/linphone/core.h index 26e6125f6..94988c67c 100644 --- a/include/linphone/core.h +++ b/include/linphone/core.h @@ -3425,6 +3425,10 @@ LINPHONE_PUBLIC void linphone_core_stop_dtmf(LinphoneCore *lc); LINPHONE_PUBLIC int linphone_core_get_current_call_duration(const LinphoneCore *lc); +/** + * Returns the maximum transmission unit size in bytes. + * @ingroup media_parameters +**/ LINPHONE_PUBLIC int linphone_core_get_mtu(const LinphoneCore *lc); /**