Mercurial > pidgin
comparison src/util.h @ 9926:b23e70bd1215
[gaim-migrate @ 10818]
remove some code duplication, add some code duplication, make these
functions accessable to other stuff, and apparently a random whitespace cleanup
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Wed, 01 Sep 2004 00:48:38 +0000 |
parents | ed3bbf36de75 |
children | 7ff9b8b22e7d |
comparison
equal
deleted
inserted
replaced
9925:4e7590473515 | 9926:b23e70bd1215 |
---|---|
734 * | 734 * |
735 * @return x + 8 | 735 * @return x + 8 |
736 */ | 736 */ |
737 #define gaim_add_eight(x) ((x)+8) | 737 #define gaim_add_eight(x) ((x)+8) |
738 | 738 |
739 /** | |
740 * Does the reverse of gaim_escape_filename | |
741 * | |
742 * This will change hex codes and such to their ascii equivalents. | |
743 * | |
744 * @param str The string to translate. | |
745 * | |
746 * @return The resulting string. | |
747 */ | |
748 const char *gaim_unescape_filename(const char *str); | |
749 | |
750 /** | |
751 * Escapes filesystem-unfriendly characters from a filename | |
752 * | |
753 * @param str The string to translate. | |
754 * | |
755 * @return The resulting string. | |
756 */ | |
757 const char *gaim_escape_filename(const char *str); | |
758 | |
739 #ifdef __cplusplus | 759 #ifdef __cplusplus |
740 } | 760 } |
741 #endif | 761 #endif |
742 | 762 |
743 #endif /* _GAIM_UTIL_H_ */ | 763 #endif /* _GAIM_UTIL_H_ */ |