1
0
mirror of https://gittea.dev/nova/th.git synced 2025-10-22 02:40:15 -04:00

created dir.c & .h, improved header file handling

This commit is contained in:
nova
2025-08-17 00:54:13 +02:00
parent 9ea82511e6
commit 2af21a0875
14 changed files with 337 additions and 297 deletions

View File

@@ -1,7 +1,8 @@
#include <curses.h>
#ifndef BACKEND_GUARD
#define BACKEND_GUARD
#include "backend.c"
#endif
unsigned long get_dir_size(char *path);
void get_dir_content(char *path, unsigned long *dir_file_count, file *dir_content);
void print_dir(WINDOW *win, char print_info, unsigned long *dir_file_count, file *dir_content);
char* concat(const char *s1, const char *s2);