|
|
|
@ -1,3 +1,7 @@
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifndef JOURNALD_NATIVE_SD_JOURNAL_H
|
|
|
|
|
#define JOURNALD_NATIVE_SD_JOURNAL_H
|
|
|
|
|
|
|
|
|
@ -54,18 +58,14 @@
|
|
|
|
|
size_t iov_len; /* Number of bytes to transfer */
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
int sd_journal_print(int priority, const char *format, ...);
|
|
|
|
|
int sd_journal_sendv(const struct iovec *iov, int n);
|
|
|
|
|
int sd_journal_perror(const char *message);
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
int sd_journal_print(int priority, const char *format, ...);
|
|
|
|
|
int sd_journal_sendv(const struct iovec *iov, int n);
|
|
|
|
|
int sd_journal_perror(const char *message);
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|