42_cube3D/map/parsing_private.h

14 lines
424 B
C
Raw Normal View History

2023-05-03 07:09:06 -04:00
#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);
2023-05-05 10:49:04 -04:00
int body_is_valid(t_map *map);
2023-05-03 07:09:06 -04:00
#endif