fix: add transport_state_to_string and clock_source_to_string to dispatcher

Co-authored-by: aider (deepseek/deepseek-coder) <aider@aider.chat>
This commit is contained in:
Loic Coenen
2026-05-02 14:34:12 +00:00
parent 6ce8f42dd8
commit 3dae299894
2 changed files with 27 additions and 0 deletions

View File

@@ -158,6 +158,12 @@ void dispatcher_stop(void);
// Get current state (thread-safe snapshot)
AppState dispatcher_get_state(void);
// ============================================================
// Utility functions for state enums
// ============================================================
const char* transport_state_to_string(TransportState state);
const char* clock_source_to_string(ClockSource source);
// ============================================================
// Reducer - pure function
// ============================================================