Back to index

glibc  2.9
Classes | Defines | Typedefs | Enumerations
gconv.h File Reference
#include <features.h>
#include <wchar.h>
#include <stddef.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  __gconv_trans_data
struct  __gconv_step
struct  __gconv_step_data
struct  __gconv_info

Defines

#define __need_mbstate_t
#define __need_wint_t
#define __need_size_t
#define __need_wchar_t
#define __UNKNOWN_10646_CHAR   ((wchar_t) 0xfffd)

Typedefs

typedef int(* __gconv_fct )(struct __gconv_step *, struct __gconv_step_data *, __const unsigned char **, __const unsigned char *, unsigned char **, size_t *, int, int)
typedef wint_t(* __gconv_btowc_fct )(struct __gconv_step *, unsigned char)
typedef int(* __gconv_init_fct )(struct __gconv_step *)
typedef void(* __gconv_end_fct )(struct __gconv_step *)
typedef int(* __gconv_trans_fct )(struct __gconv_step *, struct __gconv_step_data *, void *, __const unsigned char *, __const unsigned char **, __const unsigned char *, unsigned char **, size_t *)
typedef int(* __gconv_trans_context_fct )(void *, __const unsigned char *, __const unsigned char *, unsigned char *, unsigned char *)
typedef int(* __gconv_trans_query_fct )(__const char *, __const char ***, size_t *)
typedef int(* __gconv_trans_init_fct )(void **, const char *)
typedef void(* __gconv_trans_end_fct )(void *)
typedef struct __gconv_info__gconv_t

Enumerations

enum  {
  __GCONV_OK = 0, __GCONV_NOCONV, __GCONV_NODB, __GCONV_NOMEM,
  __GCONV_EMPTY_INPUT, __GCONV_FULL_OUTPUT, __GCONV_ILLEGAL_INPUT, __GCONV_INCOMPLETE_INPUT,
  __GCONV_ILLEGAL_DESCRIPTOR, __GCONV_INTERNAL_ERROR
}
enum  { __GCONV_IS_LAST = 0x0001, __GCONV_IGNORE_ERRORS = 0x0002 }

Class Documentation

struct __gconv_trans_data

Definition at line 104 of file gconv.h.

Collaboration diagram for __gconv_trans_data:
Class Members
void * __data
struct __gconv_trans_data * __next
__gconv_trans_context_fct __trans_context_fct
__gconv_trans_end_fct __trans_end_fct
__gconv_trans_fct __trans_fct
struct __gconv_step

Definition at line 116 of file gconv.h.

Collaboration diagram for __gconv_step:
Class Members
__gconv_btowc_fct __btowc_fct
int __counter
void * __data
__gconv_end_fct __end_fct
__gconv_fct __fct
char * __from_name
__gconv_init_fct __init_fct
int __max_needed_from
int __max_needed_to
int __min_needed_from
int __min_needed_to
__const char * __modname
struct __gconv_loaded_object * __shlib_handle
int __stateful
char * __to_name
struct __gconv_step_data

Definition at line 146 of file gconv.h.

Collaboration diagram for __gconv_step_data:
Class Members
int __flags
int __internal_use
int __invocation_counter
unsigned char * __outbuf
unsigned char * __outbufend
__mbstate_t __state
__mbstate_t * __statep
struct __gconv_trans_data * __trans
struct __gconv_info

Definition at line 173 of file gconv.h.

Collaboration diagram for __gconv_info:
Class Members
__extension__ struct __gconv_step_data
size_t __nsteps
struct __gconv_step * __steps

Define Documentation

Definition at line 27 of file gconv.h.

#define __need_size_t

Definition at line 30 of file gconv.h.

#define __need_wchar_t

Definition at line 31 of file gconv.h.

#define __need_wint_t

Definition at line 28 of file gconv.h.

#define __UNKNOWN_10646_CHAR   ((wchar_t) 0xfffd)

Definition at line 35 of file gconv.h.


Typedef Documentation

typedef wint_t(* __gconv_btowc_fct)(struct __gconv_step *, unsigned char)

Definition at line 76 of file gconv.h.

typedef void(* __gconv_end_fct)(struct __gconv_step *)

Definition at line 80 of file gconv.h.

typedef int(* __gconv_fct)(struct __gconv_step *, struct __gconv_step_data *, __const unsigned char **, __const unsigned char *, unsigned char **, size_t *, int, int)

Definition at line 71 of file gconv.h.

typedef int(* __gconv_init_fct)(struct __gconv_step *)

Definition at line 79 of file gconv.h.

typedef struct __gconv_info * __gconv_t
typedef int(* __gconv_trans_context_fct)(void *, __const unsigned char *, __const unsigned char *, unsigned char *, unsigned char *)

Definition at line 92 of file gconv.h.

typedef void(* __gconv_trans_end_fct)(void *)

Definition at line 102 of file gconv.h.

typedef int(* __gconv_trans_fct)(struct __gconv_step *, struct __gconv_step_data *, void *, __const unsigned char *, __const unsigned char **, __const unsigned char *, unsigned char **, size_t *)

Definition at line 84 of file gconv.h.

typedef int(* __gconv_trans_init_fct)(void **, const char *)

Definition at line 101 of file gconv.h.

typedef int(* __gconv_trans_query_fct)(__const char *, __const char ***, size_t *)

Definition at line 97 of file gconv.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
__GCONV_OK 
__GCONV_NOCONV 
__GCONV_NODB 
__GCONV_NOMEM 
__GCONV_EMPTY_INPUT 
__GCONV_FULL_OUTPUT 
__GCONV_ILLEGAL_INPUT 
__GCONV_INCOMPLETE_INPUT 
__GCONV_ILLEGAL_DESCRIPTOR 
__GCONV_INTERNAL_ERROR 

Definition at line 38 of file gconv.h.

anonymous enum
Enumerator:
__GCONV_IS_LAST 
__GCONV_IGNORE_ERRORS 

Definition at line 56 of file gconv.h.

{
  __GCONV_IS_LAST = 0x0001,
  __GCONV_IGNORE_ERRORS = 0x0002
};