Files
Mateusz Najdek f8bd2d22cc Release v1.2.4 (#13)
* Add websocket stream debug telemetry

* Close idle WebSocket upload listener and refresh on demand

* Schedule websocket uploads around installer demand

* Pipeline websocket uploads with two segments in flight

* Keep the latest 20 stream and SMB debug logs per type

* Prepare v1.2.4 release notes and version
2026-09-23 19:37:19 +02:00

10 lines
360 B
C

#ifndef DEBUG_LOG_RETENTION_H
#define DEBUG_LOG_RETENTION_H
/* Keep the newest `limit` regular files matching prefix + *.txt in directory.
* current_path is always retained when it names a matching file. */
void debug_log_retain_latest(const char *directory, const char *prefix,
const char *current_path, unsigned limit);
#endif