summaryrefslogtreecommitdiff
path: root/src/core/recode.h
blob: b70ec63007d5f35b4e89bab9ca4b4654d775b69f (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 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 */