commit | 30b2e348dfcfafe9eecf9a7d265f4e01fd0d373e | [log] [tgz] |
---|---|---|
author | Max <msuraev@sysmocom.de> | Mon Nov 26 10:38:55 2018 +0100 |
committer | Max <msuraev@sysmocom.de> | Mon Dec 03 21:42:51 2018 +0000 |
tree | bd1d6cef629372736becb6bf05b0af92ce208f84 | |
parent | cb02a391cdd59de9f30b55f06974446f006bf40e [diff] |
ctrl: use #define for TRAP id We always use id = 0 when sending TRAP messages. Let's make this more obvious by introducing appropriate define. Change-Id: I33d7d4c6a1885a75a85d6f2f017430e0860b4126
diff --git a/include/osmocom/ctrl/control_cmd.h b/include/osmocom/ctrl/control_cmd.h index 93055c7..276a7de 100644 --- a/include/osmocom/ctrl/control_cmd.h +++ b/include/osmocom/ctrl/control_cmd.h
@@ -12,6 +12,7 @@ #define CTRL_CMD_ERROR -1 #define CTRL_CMD_HANDLED 0 #define CTRL_CMD_REPLY 1 +#define CTRL_CMD_TRAP_ID "0" struct ctrl_handle;