Data Fields
token_bucket_rw_t Struct Reference

#include <token_bucket.h>

Data Fields

token_bucket_cfg_t cfg
token_bucket_raw_t read_bucket
token_bucket_raw_t write_bucket
uint32_t last_refilled_at_timestamp

Detailed Description

A convenience type containing all the pieces needed for a coupled read-bucket and write-bucket that have the same rate limit, and which use "timestamp units" (see compat_time.h) for their time.

Definition at line 59 of file token_bucket.h.

The documentation for this struct was generated from the following file: