Imported Upstream version 0.19.7
[platform/upstream/gettext.git] / gettext-tools / src / filters.h
index 93128b0..7c6d90f 100644 (file)
@@ -29,6 +29,22 @@ extern "C" {
 extern void serbian_to_latin (const char *input, size_t input_len,
                               char **output_p, size_t *output_len_p);
 
+/* Convert a string INPUT of INPUT_LEN bytes, converting ASCII
+   quotations to Unicode quotations.
+   Store the freshly allocated result in *OUTPUT_P and its length (in bytes)
+   in *OUTPUT_LEN_P.
+   Input and output are in UTF-8 encoding.  */
+extern void ascii_quote_to_unicode (const char *input, size_t input_len,
+                                    char **output_p, size_t *output_len_p);
+
+/* Convert a string INPUT of INPUT_LEN bytes, converting ASCII
+   quotations to Unicode quotations, adding bold escape sequence.
+   Store the freshly allocated result in *OUTPUT_P and its length (in bytes)
+   in *OUTPUT_LEN_P.
+   Input and output are in UTF-8 encoding.  */
+extern void ascii_quote_to_unicode_bold (const char *input, size_t input_len,
+                                         char **output_p, size_t *output_len_p);
+
 #ifdef __cplusplus
 }
 #endif