]> git.cworth.org Git - apitrace/blobdiff - cli/cli.hpp
Add new "apitrace diff-state" command
[apitrace] / cli / cli.hpp
index bc2dcf9f4a019dccb212ee54368143be56f5b94f..edada5141b4e617c10a96bf65d54d4c5577097bd 100644 (file)
@@ -36,12 +36,13 @@ struct Command {
     typedef void (*Usage) (void);
     Usage usage;
 
-    typedef int (*Function) (int argc, char *argv[], int first_command_arg);
+    typedef int (*Function) (int argc, char *argv[]);
     Function function;
 };
 
-
-extern const Command dump;
-
+extern const Command diff_command;
+extern const Command diff_state_command;
+extern const Command dump_command;
+extern const Command trace_command;
 
 #endif /* _APITRACE_CLI_HPP_ */