[PATCH] libosmocore[master]: Document ctrl_interface_setup_dynip() function

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Max gerrit-no-reply at lists.osmocom.org
Thu Feb 16 16:45:12 UTC 2017


Review at  https://gerrit.osmocom.org/1842

Document ctrl_interface_setup_dynip() function

Change-Id: Ie1d5881dda7a9b797d15e9e1eead8281a994d91e
---
M src/ctrl/control_if.c
1 file changed, 8 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/42/1842/1

diff --git a/src/ctrl/control_if.c b/src/ctrl/control_if.c
index b4afd55..254f9bc 100644
--- a/src/ctrl/control_if.c
+++ b/src/ctrl/control_if.c
@@ -654,6 +654,14 @@
 	return ctrl_interface_setup_dynip(data, "127.0.0.1", port, lookup);
 }
 
+/*! \brief Setup CTRL interface on a given address
+ *  \param[in] data Pointer which will be made available to each
+               set_..() get_..() verify_..() control command function
+ *  \param[in] bind_addr Address on which CTRL socket shall listen
+ *  \param[in] port Port on which CTRL socket shall listen
+ *  \param[in] lookup Lookup function pointer, can be NULL
+ *  \returns ctrl_handle pointer or NULL in case of errors
+ */
 struct ctrl_handle *ctrl_interface_setup_dynip(void *data,
 					       const char *bind_addr,
 					       uint16_t port,

-- 
To view, visit https://gerrit.osmocom.org/1842
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie1d5881dda7a9b797d15e9e1eead8281a994d91e
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list