diff options
author | Daniel Willmann <daniel@totalueberwachung.de> | 2011-03-17 15:37:54 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-07-13 14:07:10 +0200 |
commit | fc5391f54e5d522c97bfda139e9089ab9141e10a (patch) | |
tree | f420f56a641a3b57dd049d233697c94eb73a1e76 /openbsc/include | |
parent | bc07090af2b6e31ac66d6d4150ac65df00ac7d1d (diff) |
libctrl: Add ctrl_cmd_cpy() to copy a command
Diffstat (limited to 'openbsc/include')
-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 c78b3dc19..c94c7b574 100644 --- a/openbsc/include/openbsc/control_cmd.h +++ b/openbsc/include/openbsc/control_cmd.h @@ -77,6 +77,7 @@ int ctrl_cmd_handle(struct ctrl_cmd *cmd, void *data); 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); #define CTRL_CMD_DEFINE_RANGE(cmdname, cmdstr, dtype, element, min, max) \ int get_##cmdname(struct ctrl_cmd *cmd, void *data) \ |