summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/tools/imgtool/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/tools/imgtool/main.h')
-rw-r--r--src/mess/tools/imgtool/main.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/mess/tools/imgtool/main.h b/src/mess/tools/imgtool/main.h
new file mode 100644
index 00000000000..5b9b9694eed
--- /dev/null
+++ b/src/mess/tools/imgtool/main.h
@@ -0,0 +1,18 @@
+#include "imgtool.h"
+
+struct command
+{
+ const char *name;
+ int (*cmdproc)(const struct command *c, int argc, char *argv[]);
+ const char *usage;
+ int minargs;
+ int maxargs;
+ int lastargrepeats;
+};
+
+void reporterror(imgtoolerr_t err, const struct command *c, const char *format, const char *imagename,
+ const char *filename, const char *newname, option_resolution *opts);
+
+#ifdef MAME_DEBUG
+int cmd_testsuite(struct command *c, int argc, char *argv[]);
+#endif