Files
auth_service_c/src/database.h
T
wt 73a73976fe
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 12s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Failing after 8s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 12s
added USE_SQLITE3 option
2025-10-20 17:29:32 +07:00

14 lines
208 B
C

#pragma once
#include <pthread.h>
#ifdef USE_SQLITE3
#include <sqlite3.h>
extern sqlite3 *db;
extern pthread_mutex_t db_mutex;
#endif
void init_db();
void migrate_db();
char *json_escape(const char *str);