summaryrefslogtreecommitdiff
path: root/src/core.h
diff options
context:
space:
mode:
authorDoan Luu Duc Tai <doan@luuduct.ai>2026-09-08 14:46:47 -0500
committerDoan Luu Duc Tai <doan@luuduct.ai>2026-09-08 14:46:47 -0500
commitf34fb5042d40c186583f9e3009d8a1dd71d07d43 (patch)
tree3f494f3723ebe9f173d0702a97509794f0ef85a5 /src/core.h
Initial commitmain
Diffstat (limited to 'src/core.h')
-rw-r--r--src/core.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/core.h b/src/core.h
new file mode 100644
index 0000000..7510e1c
--- /dev/null
+++ b/src/core.h
@@ -0,0 +1,22 @@
+/* SPDX-License-Identifier: GPL-3.0-or-later */
+/*
+ * vfetch - neofetch but the ascii part is a video
+ *
+ * Copyright (C) 2026 Doan Luu Duc Tai
+ *
+ */
+
+#ifndef SRC__CORE_H
+#define SRC__CORE_H
+
+#include "config.h"
+#include "error.h"
+#include "state.h"
+
+VfetchError execute_program(int argc,
+ const char *argv[],
+ AppState *state,
+ VfetchArgs *args);
+void cleanup_application(AppState *state, VfetchArgs *args);
+
+#endif /* SRC__CORE_H */