ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
sqlite.h
Go to the documentation of this file.
1
5
6#pragma once
7
8#include "../../network/rate_limit/memory.h" // For backend_ops_t typedef
9#include <sqlite3.h>
10
15
21void *sqlite_backend_create(const char *db_path);
22
32void sqlite_backend_set_db(void *backend_data, sqlite3 *db);
🧠 In-memory rate limiting backend interface
const rate_limiter_backend_ops_t sqlite_backend_ops
SQLite backend operations vtable.
Definition sqlite.c:194
void sqlite_backend_set_db(void *backend_data, sqlite3 *db)
Set SQLite database handle for backend.
Definition sqlite.c:187
void * sqlite_backend_create(const char *db_path)
Create SQLite backend instance.
Definition sqlite.c:165
Backend callbacks implementing rate-limit checks, recording, cleanup, and destruction.
Definition rate_limit.h:92