projects
/
project
/
procd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
service: initialize supplementary group ids
[project/procd.git]
/
service
/
service.h
diff --git
a/service/service.h
b/service/service.h
index
cc629b1
..
8f94ecd
100644
(file)
--- a/
service/service.h
+++ b/
service/service.h
@@
-18,6
+18,7
@@
#include <libubox/avl.h>
#include <libubox/vlist.h>
#include <libubox/list.h>
#include <libubox/avl.h>
#include <libubox/vlist.h>
#include <libubox/list.h>
+#include "../utils/utils.h"
extern struct avl_tree services;
extern struct avl_tree services;
@@
-41,10
+42,13
@@
struct service {
struct avl_node avl;
const char *name;
bool deleted;
struct avl_node avl;
const char *name;
bool deleted;
+ bool autostart;
struct blob_attr *trigger;
struct vlist_tree instances;
struct list_head validators;
struct blob_attr *trigger;
struct vlist_tree instances;
struct list_head validators;
+ struct blob_attr *data;
+ struct blobmsg_list data_blob;
};
void service_validate_add(struct service *s, struct blob_attr *attr);
};
void service_validate_add(struct service *s, struct blob_attr *attr);