diff options
author | Daniel Willmann <daniel@totalueberwachung.de> | 2011-07-22 18:08:31 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-09-11 13:05:30 +0200 |
commit | 114a010c33a9e06f0187c3fb9a1dcdcb3ab1f9ea (patch) | |
tree | e875ca3975210318e0988a15bddf3117f53f8568 /openbsc/include/openbsc/control_cmd.h | |
parent | 6fc4a98fc5250d009a65d5fa079904400a3ded3d (diff) |
libctrl: Add trap helper function
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 a3f74b48a..f4785690b 100644 --- a/openbsc/include/openbsc/control_cmd.h +++ b/openbsc/include/openbsc/control_cmd.h @@ -79,6 +79,7 @@ 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); +struct ctrl_cmd *ctrl_cmd_trap(struct ctrl_cmd *cmd); #define CTRL_CMD_DEFINE_RANGE(cmdname, cmdstr, dtype, element, min, max) \ static int get_##cmdname(struct ctrl_cmd *cmd, void *data) \ |