/***********************************************************************
*
* Projet   : DilibPro
* Module   : Sgml
* Partie   : SgmlCharSet
* Fichier  : SgmlCharSet.h
* Auteur   : Ducloy
* Date     : 10/93
*
****************************************************************************
*
* Copyright (c) 1995 CNRS/CRIN & INRIA Lorraine
* 
*************************************************************************/




#ifndef _SGML_CHARSET_H
#define _SGML_CHARSET_H

#include "StrSearch.h"

struct SgmlCharSetEntityReductor_Struct
{
  StrSearchTable *accent;
  StrSearchTable *trans;
  char *defaultStr;
};

typedef struct SgmlCharSetEntityReductor_Struct SgmlCharSetEntityReductor;

SgmlCharSetEntityReductor *SgmlCharSetEntityReductor_Create();
void SgmlCharSetEntityReductor_SetDefault();
void SgmlCharSetEntityReductor_AddAccent();
void SgmlCharSetEntityReductor_AddTrans();
char *SgmlCharSetEntityReductor_Reduce();
char *SgmlCharSetEntityReductor_Convert();

void SgmlCharSetPrint();
StrSearchTable *SgmlCharSetGetTableO();
char* SgmlCharSetToLC();
char* SgmlCharSetToUC();
void SgmlCharSetPrintLC();
char *SgmlCharSetPrintEntity();


#endif /*   _SGML_CHARSET_H  */
