chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
journal: set the _SYSTEMD_UNIT field for messages from terminated processes
[elogind.git]
/
src
/
core
/
unit.h
diff --git
a/src/core/unit.h
b/src/core/unit.h
index e8e6b09866b64396c4665025689a51ed1ebc0d05..cfb38d0aae751e79eae95e685a8bfbd68c18fc68 100644
(file)
--- a/
src/core/unit.h
+++ b/
src/core/unit.h
@@
-157,9
+157,12
@@
struct Unit {
char **requires_mounts_for;
char *description;
char **requires_mounts_for;
char *description;
+ char **documentation;
char *fragment_path; /* if loaded from a config file this is the primary path to it */
char *fragment_path; /* if loaded from a config file this is the primary path to it */
+ char *source_path; /* if converted, the source file */
usec_t fragment_mtime;
usec_t fragment_mtime;
+ usec_t source_mtime;
/* If there is something to do with this unit, then this is the installed job for it */
Job *job;
/* If there is something to do with this unit, then this is the installed job for it */
Job *job;
@@
-352,9
+355,6
@@
struct UnitVTable {
void (*sigchld_event)(Unit *u, pid_t pid, int code, int status);
void (*timer_event)(Unit *u, uint64_t n_elapsed, Watch *w);
void (*sigchld_event)(Unit *u, pid_t pid, int code, int status);
void (*timer_event)(Unit *u, uint64_t n_elapsed, Watch *w);
- /* Check whether unit needs a daemon reload */
- bool (*need_daemon_reload)(Unit *u);
-
/* Reset failed state if we are in failed state */
void (*reset_failed)(Unit *u);
/* Reset failed state if we are in failed state */
void (*reset_failed)(Unit *u);