]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/shared/qrcode-util.h
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
9 int dlopen_qrencode(void);
11 int print_qrcode_full(FILE *out
, const char *header
, const char *string
, unsigned row
, unsigned column
, unsigned tty_width
, unsigned tty_height
);
12 static inline int print_qrcode(FILE *out
, const char *header
, const char *string
) {
13 return print_qrcode_full(out
, header
, string
, UINT_MAX
, UINT_MAX
, UINT_MAX
, UINT_MAX
);
16 static inline int print_qrcode_full(FILE *out
, const char *header
, const char *string
, unsigned row
, unsigned column
, unsigned tty_width
, unsigned tty_height
) {
19 static inline int print_qrcode(FILE *out
, const char *header
, const char *string
) {