Mercurial > pidgin.yaz
comparison src/util.h @ 9307:2138b3a07cb8
[gaim-migrate @ 10115]
[02:32] <grim> http://www.reaperworld.com/code/gaim/gaim-0.79cvs-doc_fixes_and_some_extended_null_checking_in_plugin_structs.diff
[02:32] <grim> longest diff name EVER!!
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Fri, 18 Jun 2004 07:39:02 +0000 |
parents | fe0291162312 |
children | dfee44a581a4 |
comparison
equal
deleted
inserted
replaced
9306:04a3e9e869ee | 9307:2138b3a07cb8 |
---|---|
568 char *gaim_str_seconds_to_string(guint sec); | 568 char *gaim_str_seconds_to_string(guint sec); |
569 | 569 |
570 /** | 570 /** |
571 * Converts a binary string into a NUL terminated ascii string, | 571 * Converts a binary string into a NUL terminated ascii string, |
572 * replacing nonascii characters and characters below SPACE (including | 572 * replacing nonascii characters and characters below SPACE (including |
573 * NUL) into \xyy, where yy are two hex digits. Also backslashes are | 573 * NUL) into \\xyy, where yy are two hex digits. Also backslashes are |
574 * changed into two backslashes (\\). The returned, newly allocated | 574 * changed into two backslashes (\\\\). The returned, newly allocated |
575 * can be outputted to the console, and must be g_free()d. | 575 * string can be outputted to the console, and must be g_free()d. |
576 * | 576 * |
577 * @param binary A string of random data, possibly with embedded NULs | 577 * @param binary A string of random data, possibly with embedded NULs |
578 * and such. | 578 * and such. |
579 * @param len The length in bytes of the input string. Must not be 0. | 579 * @param len The length in bytes of the input string. Must not be 0. |
580 * | 580 * |