comparison libpurple/debug.h @ 32672:3828a61c44da

A boring and large patch so I can merge heads.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Fri, 23 Dec 2011 08:21:58 +0000
parents 3f503c81de76
children 98520ee78f12
comparison
equal deleted inserted replaced
32671:0e69949b3e61 32672:3828a61c44da
159 * Enable or disable verbose debugging. This ordinarily should only be called 159 * Enable or disable verbose debugging. This ordinarily should only be called
160 * by #purple_debug_init, but there are cases where this can be useful for 160 * by #purple_debug_init, but there are cases where this can be useful for
161 * plugins. 161 * plugins.
162 * 162 *
163 * @param verbose TRUE to enable verbose debugging or FALSE to disable it. 163 * @param verbose TRUE to enable verbose debugging or FALSE to disable it.
164 *
165 * @since 2.6.0
166 */ 164 */
167 void purple_debug_set_verbose(gboolean verbose); 165 void purple_debug_set_verbose(gboolean verbose);
168 166
169 /** 167 /**
170 * Check if verbose logging is enabled. 168 * Check if verbose logging is enabled.
171 * 169 *
172 * @return TRUE if verbose debugging is enabled, FALSE if it is not. 170 * @return TRUE if verbose debugging is enabled, FALSE if it is not.
173 *
174 * @since 2.6.0
175 */ 171 */
176 gboolean purple_debug_is_verbose(void); 172 gboolean purple_debug_is_verbose(void);
177 173
178 /** 174 /**
179 * Enable or disable unsafe debugging. This ordinarily should only be called 175 * Enable or disable unsafe debugging. This ordinarily should only be called
181 * plugins. 177 * plugins.
182 * 178 *
183 * @param unsafe TRUE to enable debug logging of messages that could 179 * @param unsafe TRUE to enable debug logging of messages that could
184 * potentially contain passwords and other sensitive information. 180 * potentially contain passwords and other sensitive information.
185 * FALSE to disable it. 181 * FALSE to disable it.
186 *
187 * @since 2.6.0
188 */ 182 */
189 void purple_debug_set_unsafe(gboolean unsafe); 183 void purple_debug_set_unsafe(gboolean unsafe);
190 184
191 /** 185 /**
192 * Check if unsafe debugging is enabled. Defaults to FALSE. 186 * Check if unsafe debugging is enabled. Defaults to FALSE.
193 * 187 *
194 * @return TRUE if the debug logging of all messages is enabled, FALSE 188 * @return TRUE if the debug logging of all messages is enabled, FALSE
195 * if messages that could potentially contain passwords and other 189 * if messages that could potentially contain passwords and other
196 * sensitive information are not logged. 190 * sensitive information are not logged.
197 *
198 * @since 2.6.0
199 */ 191 */
200 gboolean purple_debug_is_unsafe(void); 192 gboolean purple_debug_is_unsafe(void);
201 193
202 /*@}*/ 194 /*@}*/
203 195