summaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-08-22 23:44:32 +0200
committerHarald Welte <laforge@gnumonks.org>2014-08-21 15:34:13 +0200
commita6b34015af942e4eabb0d4f8b0a9a53daa34c3e1 (patch)
tree4e50f09513393fbcef73e2d828de276a11fa2c27 /openbsc/include
parent9225ab1ecc55992a05c4be4af44a3d6193a6507c (diff)
libctrl: Add a function to create the cmd
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/control_cmd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/control_cmd.h b/openbsc/include/openbsc/control_cmd.h
index 24292ead..2a5391f5 100644
--- a/openbsc/include/openbsc/control_cmd.h
+++ b/openbsc/include/openbsc/control_cmd.h
@@ -78,6 +78,7 @@ int ctrl_cmd_send(struct osmo_wqueue *queue, struct ctrl_cmd *cmd);
struct ctrl_cmd *ctrl_cmd_parse(void *ctx, struct msgb *msg);
struct msgb *ctrl_cmd_make(struct ctrl_cmd *cmd);
struct ctrl_cmd *ctrl_cmd_cpy(void *ctx, struct ctrl_cmd *cmd);
+struct ctrl_cmd *ctrl_cmd_create(void *ctx, enum ctrl_type);
#define CTRL_CMD_DEFINE_RANGE(cmdname, cmdstr, dtype, element, min, max) \
static int get_##cmdname(struct ctrl_cmd *cmd, void *data) \