diff options
author | Max <msuraev@sysmocom.de> | 2017-02-16 17:44:09 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-02-19 08:54:27 +0000 |
commit | 32ee5af8935406578a2b811bd3cec65e980d2918 (patch) | |
tree | 6da586c248059c18a3199615c7240a93dd8b584f | |
parent | 8fcc81db6607d44fe135850cef07e7a2123e1171 (diff) |
Document ctrl_interface_setup_dynip() function
Change-Id: Ie1d5881dda7a9b797d15e9e1eead8281a994d91e
-rw-r--r-- | src/ctrl/control_if.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ctrl/control_if.c b/src/ctrl/control_if.c index b4afd555..254f9bc8 100644 --- a/src/ctrl/control_if.c +++ b/src/ctrl/control_if.c @@ -654,6 +654,14 @@ struct ctrl_handle *ctrl_interface_setup(void *data, uint16_t port, 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, |