summaryrefslogtreecommitdiffstats
path: root/src/libsystemd/sd-journal/journal-send.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd/sd-journal/journal-send.h')
-rw-r--r--src/libsystemd/sd-journal/journal-send.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/libsystemd/sd-journal/journal-send.h b/src/libsystemd/sd-journal/journal-send.h
new file mode 100644
index 0000000..558d39a
--- /dev/null
+++ b/src/libsystemd/sd-journal/journal-send.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+#pragma once
+
+#include <stdbool.h>
+
+int journal_fd_nonblock(bool nonblock);
+
+#if VALGRIND
+void close_journal_fd(void);
+#else
+static inline void close_journal_fd(void) {}
+#endif