chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
journal: have a named enum ObjectType
[elogind.git]
/
src
/
journal
/
journal-authenticate.h
diff --git
a/src/journal/journal-authenticate.h
b/src/journal/journal-authenticate.h
index c991b22e4a8c7610034991d9e762c77b83785a1f..565fe8432c7ff2369fa5ed833c090f4f6c6ca7d5 100644
(file)
--- a/
src/journal/journal-authenticate.h
+++ b/
src/journal/journal-authenticate.h
@@
-21,15
+21,24
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include <stdbool.h>
+#include <inttypes.h>
+
#include "journal-file.h"
int journal_file_append_tag(JournalFile *f);
int journal_file_maybe_append_tag(JournalFile *f, uint64_t realtime);
int journal_file_append_first_tag(JournalFile *f);
#include "journal-file.h"
int journal_file_append_tag(JournalFile *f);
int journal_file_maybe_append_tag(JournalFile *f, uint64_t realtime);
int journal_file_append_first_tag(JournalFile *f);
+int journal_file_hmac_setup(JournalFile *f);
+int journal_file_hmac_start(JournalFile *f);
int journal_file_hmac_put_header(JournalFile *f);
int journal_file_hmac_put_header(JournalFile *f);
-int journal_file_hmac_put_object(JournalFile *f, int type, uint64_t p);
+int journal_file_hmac_put_object(JournalFile *f, ObjectType type, Object *o, uint64_t p);
+
+int journal_file_fss_load(JournalFile *f);
+int journal_file_parse_verification_key(JournalFile *f, const char *key);
-int journal_file_load_fsprg(JournalFile *f);
+int journal_file_fsprg_evolve(JournalFile *f, uint64_t realtime);
+int journal_file_fsprg_seek(JournalFile *f, uint64_t epoch);
-
int journal_file_setup_hmac(JournalFile *f
);
+
bool journal_file_next_evolve_usec(JournalFile *f, usec_t *u
);