diff options
| author | Quentin Young <qlyoung@users.noreply.github.com> | 2021-07-06 14:54:25 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-06 14:54:25 +0000 |
| commit | e15106149fda3b3c915d14a2fc6b749598a73b6c (patch) | |
| tree | 23c519d61c2155056803cc8e7de10cdaafa93d25 /lib/systemd.h | |
| parent | acb4c44ef8da8c1a155184a809647533237adca9 (diff) | |
| parent | ab140d61cdd04db03ef597f645e601429396d3c8 (diff) | |
Merge pull request #8508 from opensourcerouting/systemd-no-lib
Diffstat (limited to 'lib/systemd.h')
| -rw-r--r-- | lib/systemd.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/systemd.h b/lib/systemd.h index d9885c5d9c..1933f4f688 100644 --- a/lib/systemd.h +++ b/lib/systemd.h @@ -28,9 +28,6 @@ extern "C" { * * Design point is that if systemd is not being used on this system * then these functions becomes a no-op. - * - * To turn on systemd compilation, use --enable-systemd on - * configure run. */ void systemd_send_stopping(void); @@ -39,13 +36,18 @@ void systemd_send_stopping(void); * the_process - Should we send watchdog if we are not the requested * process? */ -void systemd_send_started(struct thread_master *master, int the_process); +void systemd_send_started(struct thread_master *master); /* * status - A status string to send to systemd */ void systemd_send_status(const char *status); +/* + * grab startup state from env vars + */ +void systemd_init_env(void); + #ifdef __cplusplus } #endif |
