summaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-08-04 11:07:08 +0200
committerMax <msuraev@sysmocom.de>2016-10-12 11:37:49 +0000
commitbc067eb0a20a7feadb5dbb3b4169cb8f9286a455 (patch)
tree8b7a5b5ea9e5725ca86ce78c80e9ca82b0d8de83 /include/osmocom
parent530736f3153da2cc6774ad0d070b8c6fbf432a98 (diff)
Add function to send TRAP over Control Interface
Change-Id: Ic0b8d88c4f5c4d42c3f8fb754f8eabf049c9e388 Related: OS#1646
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/ctrl/control_if.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/ctrl/control_if.h b/include/osmocom/ctrl/control_if.h
index 181c60a4..512ae10e 100644
--- a/include/osmocom/ctrl/control_if.h
+++ b/include/osmocom/ctrl/control_if.h
@@ -20,6 +20,7 @@ struct ctrl_handle {
int ctrl_cmd_send(struct osmo_wqueue *queue, struct ctrl_cmd *cmd);
+int ctrl_cmd_send_trap(struct ctrl_handle *ctrl, const char *name, char *value);
struct ctrl_handle *ctrl_interface_setup(void *data, uint16_t port,
ctrl_cmd_lookup lookup);
struct ctrl_handle *ctrl_interface_setup_dynip(void *data,