MMgr v1.0.0
Zero-heap memory manager in C11. One borrowed buffer, carved by asserted offset.
Loading...
Searching...
No Matches
PraetCallbackCfg Struct Reference

A completion callback and the pointer handed back to it. More...

#include <memoriam_praetereo.h>

Data Fields

const mmgr_praet_callback callback
void *const user

Detailed Description

A completion callback and the pointer handed back to it.

Warning
mmgr_praet_open forwards the pointer to this struct unchanged and keeps no copy, and so it must stay valid for as long as the channel is open [BORROWS].

Definition at line 62 of file memoriam_praetereo.h.

Field Documentation

◆ callback

const mmgr_praet_callback PraetCallbackCfg::callback

Function to call [BORROWS].

Definition at line 64 of file memoriam_praetereo.h.

◆ user

void* const PraetCallbackCfg::user

Passed back to callback unexamined [BORROWS].

Definition at line 65 of file memoriam_praetereo.h.


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