X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=cli%2Fcli.hpp;h=c35cb3ac9eb6144cea3eb898dc4db092eae97007;hb=940cdb8b143455fe2fc002ffd50f5e2ffcaf1260;hp=bc2dcf9f4a019dccb212ee54368143be56f5b94f;hpb=3c167fe5060d5fcd49422ef47c9602f6aedd978c;p=apitrace diff --git a/cli/cli.hpp b/cli/cli.hpp index bc2dcf9..c35cb3a 100644 --- a/cli/cli.hpp +++ b/cli/cli.hpp @@ -36,12 +36,19 @@ 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 diff_images_command; +extern const Command dump_command; +extern const Command dump_images_command; +extern const Command pickle_command; +extern const Command repack_command; +extern const Command retrace_command; +extern const Command trace_command; +extern const Command trim_command; #endif /* _APITRACE_CLI_HPP_ */