OpenVAS Scanner
23.23.1
nasl
iconv.h
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2023 Greenbone AG
2
* SPDX-FileCopyrightText: 2004 Andrew Tridgell
3
*
4
* SPDX-License-Identifier: GPL-2.0-or-later
5
*/
6
11
12
#ifndef NASL_ICONV_H
13
#define NASL_ICONV_H
14
15
#if !defined(HAVE_ICONV) && defined(HAVE_ICONV_H)
16
#define HAVE_ICONV
17
#endif
18
19
#if !defined(HAVE_GICONV) && defined(HAVE_GICONV_H)
20
#define HAVE_GICONV
21
#endif
22
23
#if !defined(HAVE_BICONV) && defined(HAVE_BICONV_H)
24
#define HAVE_BICONV
25
#endif
26
27
#ifdef HAVE_NATIVE_ICONV
28
#if defined(HAVE_ICONV)
29
#include <
iconv.h
>
30
#elif defined(HAVE_GICONV)
31
#include <giconv.h>
32
#elif defined(HAVE_BICONV)
33
#include <biconv.h>
34
#endif
35
#endif
/* HAVE_NATIVE_ICONV */
36
37
/* needed for some systems without iconv. Doesn't really matter
38
what error code we use */
39
#ifndef EILSEQ
40
#define EILSEQ EIO
41
#endif
42
43
#endif
iconv.h
Unix SMB/CIFS implementation. iconv memory system include wrappers.
Generated on
for OpenVAS Scanner by
1.14.0