server/src/util/encoding.h

20 lines
271 B
C
Raw Normal View History

2010-08-08 10:06:34 +02:00
#ifndef ENCODING_H
#define ENCODING_H
#ifdef __cplusplus
extern "C" {
#endif
2011-03-07 08:02:35 +01:00
enum {
ENCODING_ERROR = -1,
ENCODING_NONE = 0,
ENCODING_8859_1 = 1,
ENCODING_UTF8 = 10
};
2010-08-08 10:06:34 +02:00
2011-03-07 08:02:35 +01:00
int get_encoding_by_name(const char *name);
2010-08-08 10:06:34 +02:00
#ifdef __cplusplus
}
#endif
#endif