aboutsummaryrefslogtreecommitdiff
path: root/include/kpl.h
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-10-03 08:50:07 -0400
committernodist <kevin.comas.git@gmail.com>2026-10-03 08:50:07 -0400
commitde65adbc1b2d1b3efdbe6a023bb7435f84b2f3a7 (patch)
tree2851060d2cf464146d0fb67a50dc52f710076e05 /include/kpl.h
parent2e908a7be31558cc98a9f0e97556e49ee5748c16 (diff)
redesign
Diffstat (limited to 'include/kpl.h')
-rw-r--r--include/kpl.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/include/kpl.h b/include/kpl.h
deleted file mode 100644
index 833c18b..0000000
--- a/include/kpl.h
+++ /dev/null
@@ -1,39 +0,0 @@
-
-#pragma once
-
-#define KPL_VERSION "0.0.0"
-
-// All headers in one file for including
-
-#include "kpl/queue.h"
-#include "kpl/io.h"
-#include "kpl/process.h"
-#include "kpl/code.h"
-
-typedef enum : uint32_t {
- KPL_CONFIG_FLAG_EVAL = 1 << 0,
- KPL_CONFIG_FLAG_REPL = 1 << 1
-} kpl_config_flags;
-
-typedef struct {
- uint32_t flags;
- int32_t argc, main_module_arg_index;
- const char **argv, *module_extension, *version;
- kpl_config_io io;
- kpl_config_thread thread;
- kpl_config_code code;
-} kpl_config;
-
-void kpl_config_init(kpl_config *config);
-
-bool kpl_config_valid_module_exension(kpl_config *config, const char *module_name);
-
-int32_t kpl_config_parse_args(kpl_config *config, const int32_t argc, const char *argv[]);
-
-typedef struct _kpl_env {
- kpl_config config;
- _Atomic ssize_t total_priority;
- kpl_io io;
- kpl_process process;
- kpl_code code;
-} kpl_env;