fliconv.h

dsI/fluffos-2.7-ds2.018/fliconv.h · 430 B

From the archive dsI.zip

Download the archive   « Back to the archive contents

#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

Site Stats

Snippets: 1791
Codebases: 571