libgadu
1.11.4
|
Funkcje | |
size_t | gg_message_html_to_text (char *dst, const char *html) |
size_t | gg_message_text_to_html (char *dst, const char *utf_msg, const char *format, size_t format_len) |
size_t gg_message_html_to_text | ( | char * | dst, |
const char * | html | ||
) |
Zamienia tekst w formacie HTML na czysty tekst.
dst | Bufor wynikowy (może być NULL ) |
html | Tekst źródłowy |
\0
na końcu bufora wynikowego.\0
(nawet jeśli dst
to NULL
). size_t gg_message_text_to_html | ( | char * | dst, |
const char * | src, | ||
const char * | format, | ||
size_t | format_len | ||
) |
Zamienia tekst z formatowaniem Gadu-Gadu na HTML.
dst | Bufor wynikowy (może być NULL ) |
src | Tekst źródłowy w UTF-8 |
format | Atrybuty tekstu źródłowego |
format_len | Długość bloku atrybutów tekstu źródłowego |
\0
na końcu bufora wynikowego.\0
(nawet jeśli dst
to NULL
).