chore: update c, d, h files

This commit is contained in:
2026-01-08 23:58:19 +01:00
parent 250e3e2978
commit f64aedc1fc
16 changed files with 20963 additions and 6 deletions
+16
View File
@@ -0,0 +1,16 @@
/*
* DWN - Desktop Window Manager
* WebSocket API
*/
#ifndef DWN_API_H
#define DWN_API_H
#include <stdbool.h>
void api_init(void);
void api_process(void);
void api_cleanup(void);
void api_handle_json_command(const char *json_str);
#endif
+4
View File
@@ -60,6 +60,10 @@ struct Config {
bool autostart_xdg;
char autostart_path[512];
char services_path[512];
bool api_enabled;
int api_port;
int demo_step_delay_ms;
int demo_ai_timeout_ms;
int demo_window_timeout_ms;
+3013
View File
File diff suppressed because it is too large Load Diff
+13
View File
@@ -0,0 +1,13 @@
/*
* DWN - Desktop Window Manager
* Service management
*/
#ifndef DWN_SERVICES_H
#define DWN_SERVICES_H
void services_init(void);
void services_run(void);
void services_cleanup(void);
#endif