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.
14 lines
288 B
14 lines
288 B
2 years ago
|
#ifndef DATABASE_H
|
||
|
#define DATABASE_H
|
||
|
|
||
|
#include <stdio.h>
|
||
|
#include <sqlite3.h>
|
||
|
#include <stdbool.h>
|
||
|
|
||
|
sqlite3 *db_open(char *file);
|
||
|
bool db_file_exists(char *file);
|
||
|
//Returns true if the file was successfully created, false otherwise
|
||
|
bool db_create(char *file);
|
||
|
|
||
|
#endif /* ifndef LOG_H */
|