chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
run: add a new "-t" mode for invoking a binary on an allocated TTY
[elogind.git]
/
src
/
core
/
unit.h
diff --git
a/src/core/unit.h
b/src/core/unit.h
index 0e45229d7b59f2cb741300a7fa75f5bb408b0c22..19fa2f058580d082693dd75f738bd32104be8a17 100644
(file)
--- a/
src/core/unit.h
+++ b/
src/core/unit.h
@@
-284,7
+284,7
@@
struct UnitVTable {
* that */
size_t exec_runtime_offset;
* that */
size_t exec_runtime_offset;
- /* The name of the configuration file section with the private settings of this unit*/
+ /* The name of the configuration file section with the private settings of this unit
*/
const char *private_section;
/* Config file sections this unit type understands, separated
const char *private_section;
/* Config file sections this unit type understands, separated
@@
-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;