#ifndef IZ_REPO_H #define IZ_REPO_H #include #include #include #include "../../common/IZ_common.h" #include "../../config/IZ_config.h" typedef struct { char path[64]; } IZ_RepoConfig; typedef struct { IZ_RepoConfig config; sqlite3* db; } IZ_RepoState; static IZ_RepoState IZ_REPO_DEFAULT_STATE = { .config = { .path = "server.sqlite", }, .db = NULL, }; IZ_ProcedureResult IZ_RepoInitialize(IZ_RepoState*, const char*, u8, const char*[]); void IZ_RepoTeardown(IZ_RepoState*); #endif