]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/journal/sd-journal.c
sd-journal: introduce has_runtime_files and has_persistent_files
authorJan Synacek <jsynacek@redhat.com>
Mon, 1 Feb 2016 08:23:58 +0000 (09:23 +0100)
committerJan Synacek <jsynacek@redhat.com>
Mon, 1 Feb 2016 10:59:27 +0000 (11:59 +0100)
commit39fd5b08a73f144a20202a665bd25cad51d8a90b
treec52246c727f6cda7aad57b5e5035e82c08c74e87
parentc25bf528a1ad0ef19d70882ddfd4d4eccba05bc7
sd-journal: introduce has_runtime_files and has_persistent_files

Also introduce sd_journal_has_runtime_files() and
sd_journal_has_persistent_files() to the public API. These functions
can be used to easily find out if the open journal files are runtime
and/or persistent.
Makefile-man.am
man/sd-journal.xml
man/sd_journal_has_runtime_files.xml [new file with mode: 0644]
src/journal/journal-internal.h
src/journal/sd-journal.c
src/systemd/sd-journal.h