]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/command_graph.h
lib: cli: autocomplete variables
[mirror_frr.git] / lib / command_graph.h
index 11cea9bd4289f7c509d9afa19ab115df4e328073..595508d5ce70461908f37c3584499b40b7a021a9 100644 (file)
@@ -61,6 +61,8 @@ enum cmd_token_type
   SPECIAL_TKN = FORK_TKN,
 };
 
+#define IS_VARYING_TOKEN(x) ((x) >= VARIABLE_TKN && (x) < FORK_TKN)
+
 /* Command attributes */
 enum
 {