diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-04-05 16:54:35 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-04-05 16:54:35 +0200 |
commit | d3138fa6c8602437e70e5b6592188238b5102de1 (patch) | |
tree | f7d95e2c34c37829a10f88d8e01c139b1b82579b /junklib.h | |
parent | eaee7c805cfd491ae5b6fb11a8431e5e9ced6972 (diff) |
reduced amount of copy-pasted iconv code in junklib;
added junk_iconv to DB_functions_t
Diffstat (limited to 'junklib.h')
-rw-r--r-- | junklib.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -98,7 +98,10 @@ junk_get_leading_size (DB_FILE *fp); const char * junk_detect_charset (const char *s); -void +int +junk_iconv (const char *in, int inlen, char *out, int outlen, const char *cs_in, const char *cs_out); + +int junk_recode (const char *in, int inlen, char *out, int outlen, const char *cs); #endif // __JUNKLIB_H |