diff options
Diffstat (limited to 'include/osmocom/ctrl')
-rw-r--r-- | include/osmocom/ctrl/control_cmd.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/osmocom/ctrl/control_cmd.h b/include/osmocom/ctrl/control_cmd.h index a63557d7..d82c9af1 100644 --- a/include/osmocom/ctrl/control_cmd.h +++ b/include/osmocom/ctrl/control_cmd.h @@ -4,7 +4,7 @@ #include <osmocom/core/talloc.h> #include <osmocom/core/write_queue.h> #include <osmocom/core/logging.h> - +#include <osmocom/core/utils.h> #include <osmocom/vty/vector.h> #define CTRL_CMD_ERROR -1 @@ -22,7 +22,7 @@ enum ctrl_node_type { }; enum ctrl_type { - CTRL_TYPE_UNKNOWN, + CTRL_TYPE_UNKNOWN = 0, CTRL_TYPE_GET, CTRL_TYPE_SET, CTRL_TYPE_GET_REPLY, @@ -31,6 +31,8 @@ enum ctrl_type { CTRL_TYPE_ERROR }; +extern const struct value_string ctrl_type_vals[]; + struct ctrl_connection { struct llist_head list_entry; |