chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sysv-generator: properly add Makefile symlink
[elogind.git]
/
src
/
core
/
unit.h
diff --git
a/src/core/unit.h
b/src/core/unit.h
index f6587ba5f0a80d89a702512e8fbebc1ba518afbd..19fa2f058580d082693dd75f738bd32104be8a17 100644
(file)
--- a/
src/core/unit.h
+++ b/
src/core/unit.h
@@
-396,6
+396,10
@@
struct UnitVTable {
/* Type specific cleanups. */
void (*shutdown)(Manager *m);
/* Type specific cleanups. */
void (*shutdown)(Manager *m);
+ /* If this function is set and return false all jobs for units
+ * of this type will immediately fail. */
+ bool (*supported)(Manager *m);
+
/* The interface name */
const char *bus_interface;
/* The interface name */
const char *bus_interface;