Document ctrl_interface_setup_dynip() function

Change-Id: Ie1d5881dda7a9b797d15e9e1eead8281a994d91e
This commit is contained in:
Max 2017-02-16 17:44:09 +01:00 committed by Harald Welte
parent 8fcc81db66
commit 32ee5af893
1 changed files with 8 additions and 0 deletions

View File

@ -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,