#include <systemd/sd-id128.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* TODO:
*
* - OR of matches is borked...
* - accelerate looking for "all hostnames" and suchlike.
* - handle incomplete header
*
+ * - kann NTP nicht finden?
+ *
* - local deserializer
* - http server
* - message catalog
* - cryptographic hash
* - think about manipulations of header
* - implement audit gateway
- * - implement kernel gatway
*/
/* Write to daemon */
int sd_journal_get_cursor(sd_journal *j, char **cursor);
-int sd_journal_query_unique(sd_journal *j, const char *field); /* missing */
-int sd_journal_enumerate_unique(sd_journal *j, const void **data, size_t *l); /* missing */
-void sd_journal_restart_unique(sd_journal *j); /* missing */
+/* int sd_journal_query_unique(sd_journal *j, const char *field); /\* missing *\/ */
+/* int sd_journal_enumerate_unique(sd_journal *j, const void **data, size_t *l); /\* missing *\/ */
+/* void sd_journal_restart_unique(sd_journal *j); /\* missing *\/ */
enum {
SD_JOURNAL_NOP,
#define SD_JOURNAL_FOREACH_UNIQUE(j, data, l) \
for (sd_journal_restart_unique(j); sd_journal_enumerate_data((j), &(data), &(l)) > 0; )
+#ifdef __cplusplus
+}
+#endif
+
#endif