X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Futils%2Fstrenc.h;h=f1b66737e3a74ced1320c0434016b9bd5586a11a;hb=eae326c71c117db0c492fef7d18a221d6644f44e;hp=996674e0bffe769267fb7208d7165441fafafd84;hpb=c39d7ce9985a7067c1cbf44188007c9433901940;p=mono.git diff --git a/mono/utils/strenc.h b/mono/utils/strenc.h index 996674e0bff..f1b66737e3a 100644 --- a/mono/utils/strenc.h +++ b/mono/utils/strenc.h @@ -15,5 +15,7 @@ extern gunichar2 *mono_unicode_from_external (const gchar *in, gsize *bytes); extern gchar *mono_utf8_from_external (const gchar *in); extern gchar *mono_unicode_to_external (const gunichar2 *uni); +extern gboolean mono_utf8_validate_and_len (const gchar *source, glong* oLength, const gchar** oEnd); +extern gboolean mono_utf8_validate_and_len_with_bounds (const gchar *source, glong max_bytes, glong* oLength, const gchar** oEnd); #endif /* _MONO_STRENC_H_ */