summaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorDaniel Willmann <daniel@totalueberwachung.de>2011-07-22 18:08:31 +0200
committerHarald Welte <laforge@gnumonks.org>2014-08-21 15:34:14 +0200
commitf2e75d437160b23f852a9144117f4f340a396618 (patch)
tree717141d187f53b90fc3e16d2e439d08c29754ddc /openbsc/include
parent782974b6c9f562be223023b25547bb0d5e258864 (diff)
libctrl: Add trap helper function
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 a3f74b48..f4785690 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) \