summaryrefslogtreecommitdiff
path: root/ZAPD/ExecutableMain.cpp
diff options
context:
space:
mode:
authorMalkierian <malkierian@live.com>2025-12-03 09:21:39 -0700
committerGitHub <noreply@github.com>2025-12-03 16:21:39 +0000
commit2be9bcbf5ca7d47749eb67e079113ec94450b25e (patch)
treee2da191a737b6a0981759f6a3f6e9fbfa1bb7824 /ZAPD/ExecutableMain.cpp
parentf64c54f6bc0243ee724897075c615048cc1c1c7d (diff)
External Progress Reporting (#33)
Diffstat (limited to 'ZAPD/ExecutableMain.cpp')
-rw-r--r--ZAPD/ExecutableMain.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/ZAPD/ExecutableMain.cpp b/ZAPD/ExecutableMain.cpp
index 303ea24..1bb0192 100644
--- a/ZAPD/ExecutableMain.cpp
+++ b/ZAPD/ExecutableMain.cpp
@@ -1,5 +1,8 @@
+#include <stdio.h>
+
extern "C" int zapd_main(int argc, char* argv[]);
+extern "C" int zapd_report(int argc, char* argv[], size_t* extractCount, size_t* totalExtract);
int main(int argc, char* argv[]) {
- return zapd_main(argc, argv);
+ return zapd_report(argc, argv, nullptr, nullptr);
}