You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
322 B
12 lines
322 B
#ifndef PARSER_H
|
|
#define PARSER_H
|
|
|
|
#include "common.h"
|
|
|
|
struct Hashmap;
|
|
|
|
typedef void (*Parser_Assign_Func)(const char* key, const char* value, const char* filename, int current_line);
|
|
|
|
bool parser_load(FILE* file, const char* filename, Parser_Assign_Func assign_func, bool return_on_emptyline, int current_line);
|
|
|
|
#endif
|
|
|