42_cube3D/map/parsing_private.h
Camille Chauvet e500e3f440 fix: leak
2023-05-05 14:49:04 +00:00

14 lines
424 B
C

#ifndef PARSING_PRIVATE_H
# define PARSING_PRIVATE_H
# include <sys/types.h>
# include "../libftx/libftx.h"
# include "./parsing.h"
int parsing_meta(const char *path);
int get_token(const char *str);
char ***get_header(const char **file_content, size_t *header_size);
int header_is_valid(char ***header, t_map *map);
char **get_body(const char **file_content, size_t header_size);
int body_is_valid(t_map *map);
#endif