1#ifndef _CRTX_SD_JOURNAL_H
2#define _CRTX_SD_JOURNAL_H
13 #include <systemd/sd-journal.h>
16 #define CRTX_SD_JOURNAL_EVT_NEW_ENTRY "sd_journal.new_entry"
18 #define CRTX_SD_JOURNAL_EVT_NEW_ENTRY_ID (1<<0)
32 sd_journal *sd_journal;
36 char same_boot_filter;
44 CRTX_DECLARE_CALLOC_FUNCTION(sd_journal)
46 void crtx_sd_journal_init();
47 void crtx_sd_journal_finish();
The core definitions of libcortex.
base structure of a listener
Definition core.h:186
void * userdata
storage for user-provided data
Definition core.h:225
Definition sd_journal.h:29
Definition sd_journal.h:20