Lines Matching refs:sd_journal

63 typedef struct sd_journal sd_journal;  typedef
85 int sd_journal_open(sd_journal **ret, int flags);
86 int sd_journal_open_namespace(sd_journal **ret, const char *name_space, int flags);
87 int sd_journal_open_directory(sd_journal **ret, const char *path, int flags);
88 int sd_journal_open_directory_fd(sd_journal **ret, int fd, int flags);
89 int sd_journal_open_files(sd_journal **ret, const char **paths, int flags);
90 int sd_journal_open_files_fd(sd_journal **ret, int fds[], unsigned n_fds, int flags);
91 int sd_journal_open_container(sd_journal **ret, const char *machine, int flags) _sd_deprecated_;
92 void sd_journal_close(sd_journal *j);
94 int sd_journal_previous(sd_journal *j);
95 int sd_journal_next(sd_journal *j);
97 int sd_journal_previous_skip(sd_journal *j, uint64_t skip);
98 int sd_journal_next_skip(sd_journal *j, uint64_t skip);
100 int sd_journal_get_realtime_usec(sd_journal *j, uint64_t *ret);
101 int sd_journal_get_monotonic_usec(sd_journal *j, uint64_t *ret, sd_id128_t *ret_boot_id);
103 int sd_journal_set_data_threshold(sd_journal *j, size_t sz);
104 int sd_journal_get_data_threshold(sd_journal *j, size_t *sz);
106 int sd_journal_get_data(sd_journal *j, const char *field, const void **data, size_t *l);
107 int sd_journal_enumerate_data(sd_journal *j, const void **data, size_t *l);
108 int sd_journal_enumerate_available_data(sd_journal *j, const void **data, size_t *l);
109 void sd_journal_restart_data(sd_journal *j);
111 int sd_journal_add_match(sd_journal *j, const void *data, size_t size);
112 int sd_journal_add_disjunction(sd_journal *j);
113 int sd_journal_add_conjunction(sd_journal *j);
114 void sd_journal_flush_matches(sd_journal *j);
116 int sd_journal_seek_head(sd_journal *j);
117 int sd_journal_seek_tail(sd_journal *j);
118 int sd_journal_seek_monotonic_usec(sd_journal *j, sd_id128_t boot_id, uint64_t usec);
119 int sd_journal_seek_realtime_usec(sd_journal *j, uint64_t usec);
120 int sd_journal_seek_cursor(sd_journal *j, const char *cursor);
122 int sd_journal_get_cursor(sd_journal *j, char **cursor);
123 int sd_journal_test_cursor(sd_journal *j, const char *cursor);
125 int sd_journal_get_cutoff_realtime_usec(sd_journal *j, uint64_t *from, uint64_t *to);
126 int sd_journal_get_cutoff_monotonic_usec(sd_journal *j, const sd_id128_t boot_id, uint64_t *from, u…
128 int sd_journal_get_usage(sd_journal *j, uint64_t *bytes);
130 int sd_journal_query_unique(sd_journal *j, const char *field);
131 int sd_journal_enumerate_unique(sd_journal *j, const void **data, size_t *l);
132 int sd_journal_enumerate_available_unique(sd_journal *j, const void **data, size_t *l);
133 void sd_journal_restart_unique(sd_journal *j);
135 int sd_journal_enumerate_fields(sd_journal *j, const char **field);
136 void sd_journal_restart_fields(sd_journal *j);
138 int sd_journal_get_fd(sd_journal *j);
139 int sd_journal_get_events(sd_journal *j);
140 int sd_journal_get_timeout(sd_journal *j, uint64_t *timeout_usec);
141 int sd_journal_process(sd_journal *j);
142 int sd_journal_wait(sd_journal *j, uint64_t timeout_usec);
143 int sd_journal_reliable_fd(sd_journal *j);
145 int sd_journal_get_catalog(sd_journal *j, char **text);
148 int sd_journal_has_runtime_files(sd_journal *j);
149 int sd_journal_has_persistent_files(sd_journal *j);
173 _SD_DEFINE_POINTER_CLEANUP_FUNC(sd_journal, sd_journal_close);