X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=utf8-locale.h;h=ffe974ba9b2edde400fad28a2fcc7a445279fd5d;hb=4217fc0e76c6560a5ad43cffc314f0f28ad9deec;hp=4a06187ff44a2ab6f5887a2c20a1528f73eb77e0;hpb=5c40e570e3bd0f3d7139e4d1e429527400c50133;p=gedcom-parse.git diff --git a/utf8-locale.h b/utf8-locale.h index 4a06187..ffe974b 100644 --- a/utf8-locale.h +++ b/utf8-locale.h @@ -12,8 +12,14 @@ #ifndef __UTF8_LOCALE_H #define __UTF8_LOCALE_H +#include + +__BEGIN_DECLS + void convert_set_unknown(const char* unknown); -char* convert_utf8_to_locale(char* input); +char* convert_utf8_to_locale(char* input, int *conv_fails); char* convert_locale_to_utf8(char* input); +__END_DECLS + #endif /* __UTF8_LOCALE_H */