|
ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
|
Rate event record in memory. More...
Data Fields | |
| char | key [256] |
| Hash key: "ip_address:event_type". | |
| uint64_t * | timestamps |
| Array of timestamps (circular buffer) | |
| size_t | count |
| Number of events in buffer. | |
| size_t | capacity |
| Buffer capacity. | |
| size_t | head |
| Head index (oldest event) | |
| UT_hash_handle | hh |
| uthash handle | |
Rate event record in memory.
Definition at line 19 of file network/rate_limit/memory.c.
| size_t rate_event_s::capacity |
Buffer capacity.
Definition at line 23 of file network/rate_limit/memory.c.
| size_t rate_event_s::count |
Number of events in buffer.
Definition at line 22 of file network/rate_limit/memory.c.
| size_t rate_event_s::head |
Head index (oldest event)
Definition at line 24 of file network/rate_limit/memory.c.
| UT_hash_handle rate_event_s::hh |
uthash handle
Definition at line 25 of file network/rate_limit/memory.c.
| char rate_event_s::key[256] |
Hash key: "ip_address:event_type".
Definition at line 20 of file network/rate_limit/memory.c.
| uint64_t* rate_event_s::timestamps |
Array of timestamps (circular buffer)
Definition at line 21 of file network/rate_limit/memory.c.