some refactor
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 14s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Successful in 16s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 13s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make-Without-sqlite3 (push) Successful in 9s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake-Without-sqlite3 (push) Successful in 14s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson-Without-sqlite3 (push) Successful in 13s

This commit is contained in:
wt committed 2025-10-24 14:18:46 +07:00
1 parent bed968b4e4
commit 39ef249f6f
35 files changed
+884 -691

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#include <pthread.h>
#include "../file.h"
#include "filedb.h"
char *filedb_get_all_users() {
pthread_mutex_lock(&users_file_mutex);
char *data = read_file("users_db.json");
pthread_mutex_unlock(&users_file_mutex);
return data;
}