comparison libpurple/util.h @ 18363:700b642631bc

Remove static meify from yahoochat.c and replace use of it with purple_message_meify, to which it was identical. Clarify the documentation of the latter slightly.
author Will Thompson <will.thompson@collabora.co.uk>
date Fri, 29 Jun 2007 19:36:31 +0000
parents c5c265dff90c
children cc36a5aac908 7589b218f89a
comparison
equal deleted inserted replaced
18357:2177a11e169d 18363:700b642631bc
1103 * @param message The message to print. 1103 * @param message The message to print.
1104 */ 1104 */
1105 void purple_print_utf8_to_console(FILE *filestream, char *message); 1105 void purple_print_utf8_to_console(FILE *filestream, char *message);
1106 1106
1107 /** 1107 /**
1108 * Checks for messages starting with "/me " 1108 * Checks for messages starting (post-HTML) with "/me ", including the space.
1109 * 1109 *
1110 * @param message The message to check 1110 * @param message The message to check
1111 * @param len The message length, or -1 1111 * @param len The message length, or -1
1112 * 1112 *
1113 * @return TRUE if it starts with /me, and it has been removed, otherwise FALSE 1113 * @return TRUE if it starts with "/me ", and it has been removed, otherwise
1114 * FALSE
1114 */ 1115 */
1115 gboolean purple_message_meify(char *message, size_t len); 1116 gboolean purple_message_meify(char *message, size_t len);
1116 1117
1117 /** 1118 /**
1118 * Removes the underscore characters from a string used identify the mnemonic 1119 * Removes the underscore characters from a string used identify the mnemonic