Added paragraph, image and link detection to porcess_md function. Refactored code a bit

This commit is contained in:
2020-07-04 14:10:16 +05:00
parent 06ff0761fc
commit 4c61d24352
8 changed files with 388 additions and 228 deletions

View File

@ -7,6 +7,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
struct file_s
{
@ -18,5 +19,6 @@ struct file_s
char *gen_file_path(char *path);
int send_file(int cli_fd, struct file_s *file);
struct file_s *get_file_info(char *file_path);
size_t get_file_size(FILE *file);
#endif