From f34fb5042d40c186583f9e3009d8a1dd71d07d43 Mon Sep 17 00:00:00 2001 From: Doan Luu Duc Tai Date: Tue, 8 Sep 2026 14:46:47 -0500 Subject: Initial commit --- src/fetch.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/fetch.h (limited to 'src/fetch.h') 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 +#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 */ -- cgit v1.2.3