diff options
author | Max <msuraev@sysmocom.de> | 2017-02-20 11:53:11 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-02-23 17:30:44 +0000 |
commit | fa9e05e7e83e2a2adaab6f489e2d56725511fcd2 (patch) | |
tree | 5c40a7540a12fab78bea73e377d3142c3c68f27a /include/osmocom/ctrl | |
parent | 8b86cd76cf6e5254f888276d73f94bb0bfcee03b (diff) |
Expand and expose ctrl connection allocation
Add function for allocating CTRL connection to public headers and
replace call to previous static function with it. Add doxygen docs for
this function.
It's useful if we need to allocate ctrl connection but don't need to
bind to any interfaces: when we act as ctrl client.
Related: OS#1615
Change-Id: I522ed809cbebfd3d7dd08b4ed9137b39ff192e32
Diffstat (limited to 'include/osmocom/ctrl')
-rw-r--r-- | include/osmocom/ctrl/control_if.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/ctrl/control_if.h b/include/osmocom/ctrl/control_if.h index 512ae10e..f2af1dba 100644 --- a/include/osmocom/ctrl/control_if.h +++ b/include/osmocom/ctrl/control_if.h @@ -27,5 +27,5 @@ struct ctrl_handle *ctrl_interface_setup_dynip(void *data, const char *bind_addr, uint16_t port, ctrl_cmd_lookup lookup); - +struct ctrl_connection *osmo_ctrl_conn_alloc(void *ctx, void *data); int ctrl_cmd_handle(struct ctrl_handle *ctrl, struct ctrl_cmd *cmd, void *data); |