Added gallery site section and automatic directory scanning. Fixed some memory errors, removed obsolete logs

This commit is contained in:
Dm1tr1y147
2020-07-28 06:06:00 +05:00
parent fd6007b22b
commit 21f5a392fa
19 changed files with 388 additions and 33 deletions

View File

@ -5,6 +5,7 @@
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
#include <dirent.h>
void err_msg(char *msg);
char *concat_to_front(char **str1, char *str2);
@ -12,5 +13,6 @@ char *get_status_message(int status_code);
char *to_lower(char *str);
char *trim(char *str);
char *repair_spaces(char *str);
ssize_t get_dir_list(char ***dir_list, char *path);
#endif