forked from github/server
03c247c788
Lots of files are moving to a new location in src/ Some intersting CMake changes.
19 lines
271 B
C
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
|