ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
network/rate_limit/memory.h
Go to the documentation of this file.
1
6#pragma once
7
8#include "../../network/rate_limit/rate_limit.h"
9
14
19void *memory_backend_create(void);
20
25
unsigned long long uint64_t
Definition common.h:59
void * memory_backend_create(void)
Create memory backend instance.
const rate_limiter_backend_ops_t memory_backend_ops
Memory backend operations vtable.
uint64_t rate_limiter_get_time_ms(void)
Helper: Get current time in milliseconds.
const char * rate_limiter_event_type_string(rate_event_type_t event_type)
Helper: Get event type string for logging.
Definition rate_limit.c:176
rate_event_type_t
Rate limit event types.
Definition rate_limit.h:46
Backend operations vtable.
Definition rate_limit.h:83