macros/src/ui.h

19 lines
296 B
C
Raw Normal View History

2022-12-13 01:33:56 +01:00
#ifndef UI
#define UI
2022-12-14 17:32:36 +01:00
#include <pthread.h>
2022-12-17 02:31:33 +01:00
#include "read_file.h"
2022-12-13 01:33:56 +01:00
typedef struct {
char *name;
FILE *file;
char is_recording;
2022-12-14 17:32:36 +01:00
pthread_t pid;
2022-12-17 02:31:33 +01:00
args_readfile *args_rf;
2022-12-13 01:33:56 +01:00
} ui_infos;
ui_infos * init_ui(char *name);
void free_ui(ui_infos *ptr);
int draw_ui(ui_infos *ptr);
#endif