summaryrefslogtreecommitdiffstats
path: root/src/libsystemd/sd-journal/journal-send.h
blob: 558d39a8c08236a46a8c95b3aaa98090a3571614 (plain)
1
2
3
4
5
6
7
8
9
10
11
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