summaryrefslogtreecommitdiff
path: root/lib/command_graph.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/command_graph.h')
-rw-r--r--lib/command_graph.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/command_graph.h b/lib/command_graph.h
index 179e104a57..2754dca67d 100644
--- a/lib/command_graph.h
+++ b/lib/command_graph.h
@@ -31,12 +31,13 @@
#include "memory.h"
#include "vector.h"
#include "graph.h"
+#include "xref.h"
#ifdef __cplusplus
extern "C" {
#endif
-DECLARE_MTYPE(CMD_ARG)
+DECLARE_MTYPE(CMD_ARG);
struct vty;
@@ -98,13 +99,14 @@ struct cmd_element {
const char *string; /* Command specification by string. */
const char *doc; /* Documentation of this command. */
int daemon; /* Daemon to which this command belong. */
- uint8_t attr; /* Command attributes */
+ uint32_t attr; /* Command attributes */
/* handler function for command */
int (*func)(const struct cmd_element *, struct vty *, int,
struct cmd_token *[]);
const char *name; /* symbol name for debugging */
+ struct xref xref;
};
/* text for <cr> command */