diff options
author | Harald Welte <laforge@gnumonks.org> | 2014-08-21 15:20:00 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2014-08-21 15:34:19 +0200 |
commit | ae2fcb22cfa81fe3934d4adaac68887001ab3a91 (patch) | |
tree | 719681047205f371cd016f8b5c65f9f039196ff6 | |
parent | bfdc259824e23160ecb5035defd52eb1bcf55dbf (diff) |
rename controlif_setup() to ctrl_interface_setup()
which means that all control interface related functions now have
the common ctrl_ prefix.
-rw-r--r-- | include/osmocom/ctrl/control_if.h | 4 | ||||
-rw-r--r-- | src/ctrl/control_if.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/osmocom/ctrl/control_if.h b/include/osmocom/ctrl/control_if.h index 5e10a039..3ac8bb6c 100644 --- a/include/osmocom/ctrl/control_if.h +++ b/include/osmocom/ctrl/control_if.h @@ -21,8 +21,8 @@ struct ctrl_handle { int ctrl_cmd_send(struct osmo_wqueue *queue, struct ctrl_cmd *cmd); -struct ctrl_handle *controlif_setup(void *data, uint16_t port, - ctrl_cmd_lookup lookup); +struct ctrl_handle *ctrl_interface_setup(void *data, uint16_t port, + ctrl_cmd_lookup lookup); int ctrl_cmd_handle(struct ctrl_handle *ctrl, struct ctrl_cmd *cmd, void *data); diff --git a/src/ctrl/control_if.c b/src/ctrl/control_if.c index bb690e55..54bca230 100644 --- a/src/ctrl/control_if.c +++ b/src/ctrl/control_if.c @@ -646,8 +646,8 @@ static int verify_counter(struct ctrl_cmd *cmd, const char *value, void *data) return 0; } -struct ctrl_handle *controlif_setup(void *data, uint16_t port, - ctrl_cmd_lookup lookup) +struct ctrl_handle *ctrl_interface_setup(void *data, uint16_t port, + ctrl_cmd_lookup lookup) { int ret; struct ctrl_handle *ctrl; |