diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-07-24 09:45:18 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2013-01-28 16:24:41 +0100 |
commit | f057dc85490f486d329544b8945d49755f15f698 (patch) | |
tree | 8c7a816e4dc43e9010a20b9d80074546319d56bc | |
parent | 5ba18b79ccd9307d0aa717fc6b18ac4d75c7d835 (diff) |
ctrl: Add a function to create the cmd
-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 ba18ad8f5..716d2530a 100644 --- a/openbsc/include/openbsc/control_cmd.h +++ b/openbsc/include/openbsc/control_cmd.h @@ -85,6 +85,7 @@ 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); struct ctrl_cmd *ctrl_cmd_trap(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) \ |