herdd: support updated service config layout

This commit is contained in:
2026-05-31 17:27:55 +01:00
parent a4ca7058d1
commit 4b917550f4
2 changed files with 21 additions and 11 deletions
+3 -1
View File
@@ -3,6 +3,8 @@
#include "queue.h"
#include <fx/collections/array.h>
enum service_role {
SVC_ROLE_NONE = 0x00u,
SVC_ROLE_NAMESPACE_PROVIDER = 0x01u,
@@ -11,7 +13,7 @@ enum service_role {
struct service {
char *s_name;
char *s_description;
char *s_exec;
fx_array *s_exec;
enum service_role s_roles;
struct queue_entry s_entry;
};