wired
libc-free QUIC/HTTP3 SDK in C for x86_64-linux
Loading...
Searching...
No Matches
moqcache Struct Reference

A FETCH object cache over one caller-owned arena. More...

#include <moqcache.h>

Data Fields

u8 * arena
 Caller-provided storage; must outlive the cache.
usz cap
 arena bytes: the budget
usz used
 bytes of records held, from arena[0]
usz hint_off
 Resume point: the last lookup of hint_tag at hint_cur found hint_off; 0 (scan from the start) after any record moved.
u64 hint_tag
 The tag that lookup was for.
moqctl_loc hint_cur
 The Location that lookup was for.

Detailed Description

A FETCH object cache over one caller-owned arena.

Field Documentation

◆ arena

u8* moqcache::arena

Caller-provided storage; must outlive the cache.

Not owned.


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