diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-08-22 23:44:32 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-08-22 23:45:57 +0200 |
commit | 05ac9e365cae1fe12ced9510641c9c389b1572de (patch) | |
tree | 93a8c5b4ae2077b1dbf295372f50679053c371a3 /openbsc/include/openbsc/control_cmd.h | |
parent | 9cc771bd3dcf7b9102486ca613da3e5c1fa78a16 (diff) |
libctrl: Add a function to create the cmd
Diffstat (limited to 'openbsc/include/openbsc/control_cmd.h')
-rw-r--r-- | openbsc/include/openbsc/control_cmd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/control_cmd.h b/openbsc/include/openbsc/control_cmd.h index 24292ead2..2a5391f5f 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) \ |