]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/shared/qrcode-util.h
license: LGPL-2.1+ -> LGPL-2.1-or-later
[thirdparty/systemd.git] / src / shared / qrcode-util.h
CommitLineData
db9ecf05 1/* SPDX-License-Identifier: LGPL-2.1-or-later */
da3920c3 2
f1b82359 3#pragma once
da3920c3 4#include <stdio.h>
f1b82359 5#include <errno.h>
da3920c3 6
f1b82359
ZJS
7#if HAVE_QRENCODE
8int print_qrcode(FILE *out, const char *header, const char *string);
9#else
10static inline int print_qrcode(FILE *out, const char *header, const char *string) {
11 return -EOPNOTSUPP;
12}
da3920c3 13#endif