gsasl  1.10.0
About: GNU SASL is an implementation of the Simple Authentication and Security Layer (SASL). Development version.
  Fossies Dox: gsasl-1.10.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

iconv_open.c File Reference
#include <config.h>
#include <iconv.h>
#include <errno.h>
#include <string.h>
#include "c-ctype.h"
#include "c-strcase.h"
Include dependency graph for iconv_open.c:

Go to the source code of this file.


#define SIZEOF(a)   (sizeof(a) / sizeof(a[0]))
#define mapping_lookup   rpl_iconv_open_mapping_lookup
#define ICONV_FLAVOR_AIX   "iconv_open-aix.h"
#define ICONV_FLAVOR_HPUX   "iconv_open-hpux.h"
#define ICONV_FLAVOR_IRIX   "iconv_open-irix.h"
#define ICONV_FLAVOR_OSF   "iconv_open-osf.h"
#define ICONV_FLAVOR_SOLARIS   "iconv_open-solaris.h"
#define ICONV_FLAVOR_ZOS   "iconv_open-zos.h"


iconv_t rpl_iconv_open (const char *tocode, const char *fromcode)

Macro Definition Documentation


#define ICONV_FLAVOR_AIX   "iconv_open-aix.h"

Definition at line 34 of file iconv_open.c.


#define ICONV_FLAVOR_HPUX   "iconv_open-hpux.h"

Definition at line 35 of file iconv_open.c.


#define ICONV_FLAVOR_IRIX   "iconv_open-irix.h"

Definition at line 36 of file iconv_open.c.


#define ICONV_FLAVOR_OSF   "iconv_open-osf.h"

Definition at line 37 of file iconv_open.c.


#define ICONV_FLAVOR_SOLARIS   "iconv_open-solaris.h"

Definition at line 38 of file iconv_open.c.


#define ICONV_FLAVOR_ZOS   "iconv_open-zos.h"

Definition at line 39 of file iconv_open.c.

◆ mapping_lookup

#define mapping_lookup   rpl_iconv_open_mapping_lookup

Definition at line 30 of file iconv_open.c.


#define SIZEOF (   a)    (sizeof(a) / sizeof(a[0]))

Definition at line 27 of file iconv_open.c.

Function Documentation

◆ rpl_iconv_open()

iconv_t rpl_iconv_open ( const char *  tocode,
const char *  fromcode 

Definition at line 46 of file iconv_open.c.

References c_strcasecmp(), c_toupper(), m, mapping_lookup, NULL, p, and SIZEOF.