YACDB
Yet Another C(rappy) Database
core.h
Go to the documentation of this file.
1
9#ifndef CORE_H
10#define CORE_H
11
12#include "../../parser/include/main_parser.h"
13#include "../../schema/include/record.h"
14#include "../../schema/include/db_ops.h"
15
22void db_handle(FILE* f, char* line);
23
28void init_database();
29
36void debug_parser(FILE* f, char* line);
37#endif
void db_handle(FILE *f, char *line)
Core function that transform a line of user input into yacdb instruction and execute them.
Definition: core.c:3
void init_database()
Function that needs to be called before being able to call db_handle()
Definition: core.c:81
void debug_parser(FILE *f, char *line)
Debug function to test the parser.
Definition: core.c:87