summaryrefslogtreecommitdiff
path: root/src/fetch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fetch.h')
-rw-r--r--src/fetch.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/fetch.h b/src/fetch.h
new file mode 100644
index 0000000..4f77abb
--- /dev/null
+++ b/src/fetch.h
@@ -0,0 +1,25 @@
+/* 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__FETCH_H
+#define SRC__FETCH_H
+
+#include <stddef.h>
+#include "config.h"
+#include "error.h"
+#include "state.h"
+
+VfetchError initialize_fetch_utility(AppState *state, const VfetchArgs *args);
+VfetchError start_fetch_thread(AppState *state, VfetchArgs *args);
+void render_fetch_panel(char *screen_buffer,
+ size_t screen_buffer_size,
+ size_t *current_len,
+ AppState *state,
+ const VfetchArgs *args);
+
+#endif /* SRC__FETCH_H */