Loading...
Searching...
No Matches
callback_list.c File Reference

Adding to and running a callback list. More...

#include "io/callback_list.h"
#include <stddef.h>

Functions

bool callback_list_add (CallbackList *list, CallbackListFn cb)
 Adds a callback to the end of the list. Adding one that is already there does nothing.
void callback_list_fire (const CallbackList *list)
 Runs every callback in the order it was added.

Detailed Description

Adding to and running a callback list.