#ifndef _UNLS_H #define _UNLS_H #include #include "prototyp.h" #ifdef __cplusplus extern "C" { #endif struct nls_table { char *charset; int (*uni2char) (); int (*char2uni) (); unsigned char *charset2lower; unsigned char *charset2upper; struct module *owner; struct nls_table *next; }; /* this value hold the maximum octet of charset */ #define NLS_MAX_CHARSET_SIZE 3 extern int register_nls __PR((struct nls_table *)); extern int unregister_nls __PR((struct nls_table *)); extern struct nls_table *load_nls __PR((char *)); extern void unload_nls __PR((struct nls_table *)); extern struct nls_table *load_nls_default __PR((void)); extern char *list_nls __PR((void)); #ifdef __cplusplus } #endif #endif