comparison src/util.h @ 5943:a4f2aba0848d

[gaim-migrate @ 6384] This should fix corruption in the blist, accounts, and pounces when some protocol plugins cannot load. Some parts of gaim now use the new unique Plugin or Protocol Plugin IDs, while some still use the old protocol numbers. Accounts kind of used both, and when prpls were missing, it had trouble finding accounts. It would find the names, even without mapping the protocol numbers to IDs, and any duplicate accounts would get nuked. That would then affect pounce saving. Anyhow, long story short (well, it's already long, too late for that), this should fix all that mess. And introduce new mess, but hopefully temporary mess. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 23 Jun 2003 02:00:15 +0000
parents 964e4f94fc56
children 158196b2db19
comparison
equal deleted inserted replaced
5942:d0320de18feb 5943:a4f2aba0848d
149 * 149 *
150 * @return A new string where the special variables are expanded. 150 * @return A new string where the special variables are expanded.
151 */ 151 */
152 char *away_subs(const char *str, const char *name); 152 char *away_subs(const char *str, const char *name);
153 153
154 /**
155 * Stylizes the specified text using HTML, according to the current
156 * font options.
157 *
158 * @param text The text to stylize.
159 * @param len The intended length of the new buffer.
160 *
161 * @return A newly allocated string of length @a len, containing the
162 * stylized version of @a text.
163 *
164 * @todo Move this to a UI-specific file.
165 */
166 char *stylize(const gchar *text, int len);
167
168 /**
169 * Shows the usage options for the gaim binary.
170 *
171 * @param mode @c 0 for full options, or @c 1 for a short summary.
172 * @param name The name of the binary.
173 *
174 * @todo Move this to the binary, when a library is formed.
175 */
176 void show_usage(int mode, const char *name);
177
178 /**` 154 /**`
179 * Returns the user's home directory. 155 * Returns the user's home directory.
180 * 156 *
181 * @return The user's home directory. 157 * @return The user's home directory.
182 * 158 *