/* TODO:
*
- * - check LE/BE conversion for 8bit, 16bit, 32bit values
- * - implement audit gateway
+ * - OR of matches is borked...
* - extend hash tables table as we go
* - accelerate looking for "all hostnames" and suchlike.
+ * - hookup with systemctl
+ * - handle incomplete header
+ *
+ * - local deserializer
+ * - http server
+ * - message catalog
+ *
+ * - check LE/BE conversion for 8bit, 16bit, 32bit values
* - cryptographic hash
- * - never access beyond fle size check
- * - OR of matches is borked...
+ * - think about manipulations of header
+ * - implement audit gateway
*/
/* Write to daemon */
typedef struct sd_journal sd_journal;
-int sd_journal_open(sd_journal **ret);
+enum {
+ SD_JOURNAL_LOCAL_ONLY = 1,
+ SD_JOURNAL_RUNTIME_ONLY = 2,
+ SD_JOURNAL_SYSTEM_ONLY = 4
+};
+
+int sd_journal_open(sd_journal **ret, int flags);
void sd_journal_close(sd_journal *j);
int sd_journal_previous(sd_journal *j);