summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/tools/imgtool/main.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2012-08-21 10:41:19 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2012-08-21 10:41:19 +0000
commit7285b359d259b2ae0fdf85096571c386ec8c991a (patch)
treea027aff57f1a255f9ec6cfd3b68cabe4b6683998 /src/mess/tools/imgtool/main.h
parent67c425e90757876a6716b7867df30c0149912e74 (diff)
Merge of MESS sources (no whatsnew)
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