summaryrefslogtreecommitdiffstats
path: root/CommandLine.h
diff options
context:
space:
mode:
authorVolodymyr Vasiutyk <volodymyr.vasiutyk@gmail.com>2021-10-06 10:45:07 +0300
committerBenBE <BenBE@geshi.org>2021-10-31 15:07:00 +0100
commit2ef70ad7f692686710091132978129b614f6dd1a (patch)
tree448c24ac798a6ab5bc18ac37cd9517bddc9f3a73 /CommandLine.h
parent2977414d540c9cb78baa3d7fc612fcb4d6ecc72f (diff)
Early program termination only from main()
Diffstat (limited to 'CommandLine.h')
-rw-r--r--CommandLine.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/CommandLine.h b/CommandLine.h
index 99579f5d..fbdede84 100644
--- a/CommandLine.h
+++ b/CommandLine.h
@@ -8,6 +8,11 @@ Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/
+typedef enum {
+ STATUS_OK,
+ STATUS_ERROR_EXIT,
+ STATUS_OK_EXIT
+} CommandLineStatus;
int CommandLine_run(const char* name, int argc, char** argv);

© 2014-2024 Faster IT GmbH | imprint | privacy policy