DOKK / manpages / debian 12 / libelogind-dev-doc / sd_journal_get_catalog_for_message_id.3.en
SD_JOURNAL_GET_CATALOG(3) sd_journal_get_catalog SD_JOURNAL_GET_CATALOG(3)

sd_journal_get_catalog, sd_journal_get_catalog_for_message_id - Retrieve message catalog entry

#include <elogind/sd-journal.h>

int sd_journal_get_catalog(sd_journal *j, char **ret);

int sd_journal_get_catalog_for_message_id(sd_id128_t id, char **ret);

As elogind can not open any systemd journals, the functions sd_journal_get_catalog() and sd_journal_get_catalog_for_message_id() do nothing.

sd_journal_get_catalog() and sd_journal_get_catalog_for_message_id() always return -ENOENT.

elogind(8), elogind.journal-fields(7),

sd_journal_open(3), sd_journal_next(3), sd_journal_get_data(3), malloc(3)

elogind 246.10