summaryrefslogtreecommitdiff
path: root/src/fetch.h
blob: 4f77abb27fe1f26fc1b00538e29b69b0e6f7f15e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 */