OpenVAS Libraries
4.0+rc3.SVN
Main Page
Related Pages
Data Structures
Files
File List
Globals
nasl
iconv.h
1
#ifndef _system_iconv_h
2
#define _system_iconv_h
3
/*
4
Unix SMB/CIFS implementation.
5
6
iconv memory system include wrappers
7
8
Copyright (C) Andrew Tridgell 2004
9
10
This program is free software; you can redistribute it and/or modify
11
it under the terms of the GNU General Public License as published by
12
the Free Software Foundation; either version 2 of the License, or
13
(at your option) any later version.
14
15
This program is distributed in the hope that it will be useful,
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
GNU General Public License for more details.
19
20
You should have received a copy of the GNU General Public License
21
along with this program; if not, write to the Free Software
22
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23
*/
24
25
#if !defined(HAVE_ICONV) && defined(HAVE_ICONV_H)
26
#define HAVE_ICONV
27
#endif
28
29
#if !defined(HAVE_GICONV) && defined(HAVE_GICONV_H)
30
#define HAVE_GICONV
31
#endif
32
33
#if !defined(HAVE_BICONV) && defined(HAVE_BICONV_H)
34
#define HAVE_BICONV
35
#endif
36
37
#ifdef HAVE_NATIVE_ICONV
38
#if defined(HAVE_ICONV)
39
#include <iconv.h>
40
#elif defined(HAVE_GICONV)
41
#include <giconv.h>
42
#elif defined(HAVE_BICONV)
43
#include <biconv.h>
44
#endif
45
#endif
/* HAVE_NATIVE_ICONV */
46
47
/* needed for some systems without iconv. Doesn't really matter
48
what error code we use */
49
#ifndef EILSEQ
50
#define EILSEQ EIO
51
#endif
52
53
#endif
Generated by
1.8.1.1