PatchworkOS
Loading...
Searching...
No Matches
module.c File Reference

Go to the source code of this file.

Functions

void module_init (void)
 Initializes the module system.
 
uint64_t module_event (module_event_t *event)
 Propagates a module event to all registered modules.
 

Variables

static list_t modules = LIST_CREATE(modules)
 
static lock_t modulesLock = LOCK_CREATE
 

Variable Documentation

◆ modules

list_t modules = LIST_CREATE(modules)
static

Definition at line 5 of file module.c.

◆ modulesLock

lock_t modulesLock = LOCK_CREATE
static

Definition at line 6 of file module.c.