summaryrefslogtreecommitdiff
path: root/server.h
diff options
context:
space:
mode:
Diffstat (limited to 'server.h')
-rw-r--r--server.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/server.h b/server.h
index 8e0b15f..fbaa3fa 100644
--- a/server.h
+++ b/server.h
@@ -37,6 +37,7 @@ struct server {
/* For calling external start/stop executables */
char *stop_exec;
char *start_exec;
+ struct uring_task exec_task;
/* For systemd services */
char *systemd_service;
@@ -56,12 +57,10 @@ struct server {
unsigned idle_timeout;
unsigned idle_count;
- /* For config files */
- char buf[4096];
- size_t len;
-
- struct uring_task exec_task;
+ /* For reading config files */
+ struct uring_task_buf tbuf;
struct uring_task task;
+
struct list_head list;
};