server/src/util/encoding.h
Enno Rehling 03c247c788 I am killing the core/ directory.
Lots of files are moving to a new location in src/
Some intersting CMake changes.
2014-02-18 05:45:00 +01:00

19 lines
271 B
C

#ifndef ENCODING_H
#define ENCODING_H
#ifdef __cplusplus
extern "C" {
#endif
enum {
ENCODING_ERROR = -1,
ENCODING_NONE = 0,
ENCODING_8859_1 = 1,
ENCODING_UTF8 = 10
};
int get_encoding_by_name(const char *name);
#ifdef __cplusplus
}
#endif
#endif