summaryrefslogtreecommitdiffstats
path: root/src/journal/journal-qrcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal/journal-qrcode.h')
-rw-r--r--src/journal/journal-qrcode.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/journal/journal-qrcode.h b/src/journal/journal-qrcode.h
new file mode 100644
index 0000000..0774608
--- /dev/null
+++ b/src/journal/journal-qrcode.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
+#pragma once
+
+#include <inttypes.h>
+#include <stdio.h>
+
+#include "sd-id128.h"
+
+int print_qr_code(FILE *f, const void *seed, size_t seed_size, uint64_t start, uint64_t interval, const char *hn, sd_id128_t machine);