2D Run-and-gun shooter inspired by One Man's Doomsday, Counter-Strike, and Metal Slug.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

IZ_repo.h 531 B

123456789101112131415161718192021222324252627282930
  1. #ifndef IZ_REPO_H
  2. #define IZ_REPO_H
  3. #include <minIni.h>
  4. #include <sqlite3.h>
  5. #include <string.h>
  6. #include "../../common/IZ_common.h"
  7. #include "../../config/IZ_config.h"
  8. typedef struct {
  9. char path[64];
  10. } IZ_RepoConfig;
  11. typedef struct {
  12. IZ_RepoConfig config;
  13. sqlite3* db;
  14. } IZ_RepoState;
  15. static IZ_RepoState IZ_REPO_DEFAULT_STATE = {
  16. .config = {
  17. .path = "server.sqlite",
  18. },
  19. .db = NULL,
  20. };
  21. IZ_ProcedureResult IZ_RepoInitialize(IZ_RepoState*, const char*, u8, const char*[]);
  22. void IZ_RepoTeardown(IZ_RepoState*);
  23. #endif