From: Sven Eden Date: Wed, 14 Jun 2017 15:44:53 +0000 (+0200) Subject: Prep v231: Apply missing fixes from upstream (6/6) src/systemd X-Git-Tag: v231.3~52 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=7bb0c7484d6ca8b59ca81e8316eccba04be41ce1;ds=sidebyside Prep v231: Apply missing fixes from upstream (6/6) src/systemd --- diff --git a/src/systemd/sd-daemon.h b/src/systemd/sd-daemon.h index bb7f34e32..305b4d604 100644 --- a/src/systemd/sd-daemon.h +++ b/src/systemd/sd-daemon.h @@ -200,6 +200,11 @@ int sd_is_mq(int fd, const char *path); invocation. This variable is only supported with sd_pid_notify_with_fds(). + WATCHDOG_USEC=... + Reset watchdog_usec value during runtime. + To reset watchdog_usec value, start the service again. + Example: "WATCHDOG_USEC=20000000" + Daemons can choose to send additional variables. However, it is recommended to prefix variable names not listed above with X_. diff --git a/src/systemd/sd-event.h b/src/systemd/sd-event.h index 0b61bfa47..f46c3d3a1 100644 --- a/src/systemd/sd-event.h +++ b/src/systemd/sd-event.h @@ -113,7 +113,10 @@ int sd_event_get_exit_code(sd_event *e, int *code); int sd_event_set_watchdog(sd_event *e, int b); #if 0 /// UNNEEDED by elogind int sd_event_get_watchdog(sd_event *e); +#endif // 0 +int sd_event_get_iteration(sd_event *e, uint64_t *ret); +#if 0 /// UNNEEDED by elogind sd_event_source* sd_event_source_ref(sd_event_source *s); #endif // 0 sd_event_source* sd_event_source_unref(sd_event_source *s);