#ifndef FLUFFOS_ICONV_H
#define FLUFFOS_ICONV_H
#ifdef USE_ICONV
#include <iconv.h>
#endif
#ifndef USE_ICONV
typedef void *iconv_t;
#endif
struct translation{
char *name;
iconv_t incoming;
iconv_t outgoing;
struct translation *next;
};
char *translate(iconv_t tr, const char *mes, int inlen, int *outlen);
char *translate_easy(iconv_t tr, char *mes);
struct translation *get_translator(char *encoding);
#endif