X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Flog.h;h=6a0f6735c5a2e6f0151af764d5f8a65937d45ed1;hb=4daf54a851e4fb7ed1a13c3117bba12528fd2c7f;hp=3dcfa113085b419a9bac1bbeade37e9acfdcdc54;hpb=c480d2f8bc63565e40bd969054ebd97e9e2deca6;p=elogind.git diff --git a/src/shared/log.h b/src/shared/log.h index 3dcfa1130..6a0f6735c 100644 --- a/src/shared/log.h +++ b/src/shared/log.h @@ -21,9 +21,10 @@ along with systemd; If not, see . ***/ -#include #include #include +#include +#include #include #include "macro.h" @@ -167,3 +168,5 @@ const char *log_target_to_string(LogTarget target) _const_; LogTarget log_target_from_string(const char *s) _pure_; #define MESSAGE_ID(x) "MESSAGE_ID=" SD_ID128_FORMAT_STR, SD_ID128_FORMAT_VAL(x) + +void log_received_signal(int level, const struct signalfd_siginfo *si);