Skip to content

Implement new sd_journal_* functions since previous version#107

Open
ledbettj wants to merge 4 commits into
masterfrom
refresh
Open

Implement new sd_journal_* functions since previous version#107
ledbettj wants to merge 4 commits into
masterfrom
refresh

Conversation

@ledbettj

Copy link
Copy Markdown
Owner

sd_journal_open_namespace

namespace: option parameter added to Systemd::Journal.new

sd_journal_stream_fd_with_namespace

namespace: option added to Systemd::Journal.log_stream

sd_journal_(restart|enumerate)_fields

Systemd::Journal#fields will return either an Enumerator or invoke a provided block.

sd_journal_has_(runtime|persistent)_files

Implemented Systemd::Journal#(persistent_runtime)_files?

Additionally, add stubs/framework for new functions introduced in later
versions of libsystemd.  Several of these are now loaded if the native
library supports them, but are not implemented in the Systemd::Journal
interface.
* sd_journal_restart/enumerate_fields
* sd_journal_stream_fd_with_namespace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant