2020-11-09 05:23:58 +01:00
|
|
|
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
2020-08-17 15:59:00 +02:00
|
|
|
|
2020-10-25 12:11:21 +01:00
|
|
|
#pragma once
|
2020-08-17 15:59:00 +02:00
|
|
|
#include <stdio.h>
|
2020-10-25 12:11:21 +01:00
|
|
|
#include <errno.h>
|
2020-08-17 15:59:00 +02:00
|
|
|
|
2020-10-25 12:11:21 +01:00
|
|
|
#if HAVE_QRENCODE
|
|
|
|
int print_qrcode(FILE *out, const char *header, const char *string);
|
|
|
|
#else
|
|
|
|
static inline int print_qrcode(FILE *out, const char *header, const char *string) {
|
|
|
|
return -EOPNOTSUPP;
|
|
|
|
}
|
2020-08-17 15:59:00 +02:00
|
|
|
#endif
|