projects
/
project
/
procd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add support for specifying process priority
[project/procd.git]
/
service.h
diff --git
a/service.h
b/service.h
index
5b86b3a
..
527e511
100644
(file)
--- a/
service.h
+++ b/
service.h
@@
-1,19
+1,17
@@
+#ifndef __PROCD_SERVICE_H
+#define __PROCD_SERVICE_H
+
#include <libubox/avl.h>
#include <libubox/vlist.h>
#include <libubox/avl.h>
#include <libubox/vlist.h>
+extern struct avl_tree services;
+
struct service {
struct avl_node avl;
const char *name;
struct service {
struct avl_node avl;
const char *name;
- struct vlist_tree instances;
-};
-
-struct service_instance {
- struct vlist_node node;
- const char *name;
-
struct blob_attr *config;
struct blob_attr *config;
- struct
uloop_process proc
;
+ struct
vlist_tree instances
;
};
};
-
+#endif