arehbein has uploaded this change for review.

View Change

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)
{

To view, visit change 30703. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ibd05d3bc2736256aa45e9e7ec15a98bd14a10454
Gerrit-Change-Number: 30703
Gerrit-PatchSet: 1
Gerrit-Owner: arehbein <arehbein@sysmocom.de>
Gerrit-MessageType: newchange