arehbein has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/30703 )
Change subject: libosmocore: Transition to use of 'telnet_init_default' ......................................................................
libosmocore: Transition to use of 'telnet_init_default'
Related: OS#5809 Change-Id: Ibd05d3bc2736256aa45e9e7ec15a98bd14a10454 --- M src/vty/telnet_interface.c 1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/03/30703/1
diff --git a/src/vty/telnet_interface.c b/src/vty/telnet_interface.c index 3fcae6e..cfc553d 100644 --- a/src/vty/telnet_interface.c +++ b/src/vty/telnet_interface.c @@ -42,7 +42,7 @@ * process in order to enable interactive command-line introspection, * interaction and configuration. * - * You typically call \ref telnet_init or \ref telnet_init_dynif once + * You typically call \ref telnet_init_default once * from your application code to enable this. */
@@ -64,6 +64,7 @@ * \param[in] tall_ctx \ref talloc context * \param[in] priv private data to be passed to callback * \param[in] port TCP port number to bind to + * \deprecated use telnet_init_default() instead */ int telnet_init(void *tall_ctx, void *priv, int port) { @@ -75,6 +76,7 @@ * \param[in] priv private data to be passed to callback * \param[in] ip IP to listen to ('::1' for localhost, '::0' for all, ...) * \param[in] port TCP port number to bind to + * \deprecated use telnet_init_default() instead */ int telnet_init_dynif(void *tall_ctx, void *priv, const char *ip, int port) {