#ifndef COSMOPOLITAN_NET_HTTP_TOKENBUCKET_H_ #define COSMOPOLITAN_NET_HTTP_TOKENBUCKET_H_ #include "libc/atomic.h" COSMOPOLITAN_C_START_ void ReplenishTokens(atomic_uint_fast64_t *, size_t) libcesque; int AcquireToken(atomic_schar *, uint32_t, int) libcesque; int CountTokens(atomic_schar *, uint32_t, int) libcesque; COSMOPOLITAN_C_END_ #endif /* COSMOPOLITAN_NET_HTTP_TOKENBUCKET_H_ */