summaryrefslogtreecommitdiff
path: root/src/core/recode.h
blob: 719e8f54db73e78d0e74c5e069edb08e8f19f649 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __RECODE_H
#define __RECODE_H

char *recode_in (const SERVER_REC *server, const char *str, const char *target);
char *recode_out (const SERVER_REC *server, const char *str, const char *target);
char **recode_split(const SERVER_REC *server, const char *str,
		    const char *target, int len, gboolean onspace);
gboolean is_valid_charset(const char *charset);
gboolean is_utf8(void);
void recode_update_charset(void);

void recode_init (void);
void recode_deinit (void);

#endif /* __RECODE_H */