I have made a start
I have done some work on opening a socket and waiting for a connection. This can be read line by line and I have started a request struct that it will accept. Also started on some docs. Not much is yet working. I am going to start learning µnit for unit tests: https://nemequ.github.io/munit/
This commit is contained in:
parent
4e17e706fa
commit
f48a110429
15 changed files with 599 additions and 1 deletions
13
src/database.h
Normal file
13
src/database.h
Normal file
|
@ -0,0 +1,13 @@
|
|||
#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 */
|
Loading…
Add table
Add a link
Reference in a new issue