Added paragraph, image and link detection to porcess_md function. Refactored code a bit
This commit is contained in:
@ -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
|
Reference in New Issue
Block a user