| 1 |
/* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 |
#pragma once |
| 3 |
|
| 4 |
#include "shared-forward.h" |
| 5 |
|
| 6 |
int print_qrcode_full( |
| 7 |
FILE *out, |
| 8 |
const char *header, |
| 9 |
const char *string, |
| 10 |
unsigned row, |
| 11 |
unsigned column, |
| 12 |
unsigned tty_width, |
| 13 |
unsigned tty_height, |
| 14 |
bool check_tty); |
| 15 |
|
| 16 |
int dlopen_qrencode(int log_level); |
| 17 |
|
| 18 |
static inline int print_qrcode(FILE *out, const char *header, const char *string) { |
| 19 |
return print_qrcode_full(out, header, string, UINT_MAX, UINT_MAX, UINT_MAX, UINT_MAX, true); |
| 20 |
} |