1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 
3 #pragma once
4 #include <stdio.h>
5 #include <errno.h>
6 
7 #if HAVE_QRENCODE
8 int dlopen_qrencode(void);
9 
10 int print_qrcode(FILE *out, const char *header, const char *string);
11 #else
print_qrcode(FILE * out,const char * header,const char * string)12 static inline int print_qrcode(FILE *out, const char *header, const char *string) {
13         return -EOPNOTSUPP;
14 }
15 #endif
16