chiark / gitweb /
main: added support for loading IMA custom policies
[elogind.git] / src / systemd / sd-journal.h
index d0cb95045510fe3d13e2167bdc0065b5414f0cc8..5a2dab15694461403dd2a1ca5b48bae91e16e0d9 100644 (file)
 
 #include <systemd/sd-id128.h>
 
-/* TODO:
- *
- *   - OR of matches is borked...
- *   - extend hash tables table as we go
- *   - accelerate looking for "all hostnames" and suchlike.
- *   - handle incomplete header
- *
- *   - kann NTP nicht finden?
- *   - in unit.c check ob syslog.socket wegen logging reconnect is kaputt
- *
- *
- *   - local deserializer
- *   - http server
- *   - message catalog
- *
- *   - check LE/BE conversion for 8bit, 16bit, 32bit values
- *   - cryptographic hash
- *   - think about manipulations of header
- *   - implement audit gateway
- *   - implement kernel gatway
- */
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 /* Write to daemon */
 
@@ -97,9 +79,9 @@ int sd_journal_seek_cursor(sd_journal *j, const char *cursor);
 
 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,
@@ -125,4 +107,8 @@ int sd_journal_process(sd_journal *j);
 #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