aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cli.h
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-08-24 23:55:22 +0900
committernsfisis <nsfisis@gmail.com>2025-08-25 00:18:08 +0900
commit36da139565202a9a39d1e4261ab8bf950041518b (patch)
treec8e8867edc4e4fed94403331b8a7837e9951d9af /src/cli.h
parent5bbc4414b8178ff924444857ac05e5b06cf0e651 (diff)
downloadducc-36da139565202a9a39d1e4261ab8bf950041518b.tar.gz
ducc-36da139565202a9a39d1e4261ab8bf950041518b.tar.zst
ducc-36da139565202a9a39d1e4261ab8bf950041518b.zip
feat: separate compilation
Diffstat (limited to 'src/cli.h')
-rw-r--r--src/cli.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/cli.h b/src/cli.h
new file mode 100644
index 0000000..3288c10
--- /dev/null
+++ b/src/cli.h
@@ -0,0 +1,18 @@
+#ifndef DUCC_CLI_H
+#define DUCC_CLI_H
+
+#include "std.h"
+
+struct CliArgs {
+ const char* input_filename;
+ const char* output_filename;
+ BOOL output_assembly;
+ BOOL only_compile;
+ BOOL totally_deligate_to_gcc;
+ const char* gcc_command;
+};
+typedef struct CliArgs CliArgs;
+
+CliArgs* parse_cli_args(int argc, char** argv);
+
+#endif