ether2ser 0.1.0
Ethernet <-> synchronous V.24 bridge firmware for RP2040 + W5500
Loading...
Searching...
No Matches
event_dispatch.h
Go to the documentation of this file.
1
2/*
3 * ether2ser - Ethernet <-> synchronous V.24 (RS-232/V.28) bridge
4 *
5 * File: src/system/event_dispatch.h
6 * Purpose: Event dispatcher API for control-plane event handling.
7 *
8 * SPDX-License-Identifier: Apache-2.0
9 *
10 * Copyright (c) 2026 Florian <f.leuze@outlook.de>
11 */
12
13#ifndef EVENT_DISPATCH_H
14#define EVENT_DISPATCH_H
15
16// Related headers
17
18// Standard library headers
19
20// Library Headers
21
22// Project Headers
23#include "system/app_context.h"
24#include "system/event_queue.h"
25
26// Generated headers
32void event_dispatch(const event_t* event, app_ctx_t* app);
33
34#endif /* EVENT_DISPATCH_H */
void event_dispatch(const event_t *event, app_ctx_t *app)
Dispatch one event to the corresponding handler.
Global application context shared across modules.
Definition app_context.h:98
Event queue entry.
Definition event_queue.h:91