Lines Matching defs:handler

69  * @handler:	Function to perform the actual logging
74 ntfs_log_handler *handler BROKEN_GCC_FORMAT_ATTRIBUTE;
283 * ntfs_log_set_handler - Provide an alternate logging handler
284 * @handler: function to perform the logging
286 * This alternate handler will be called for all future logging requests.
287 * If no @handler is specified, logging will revert to the default handler.
289 void ntfs_log_set_handler(ntfs_log_handler *handler)
291 if (handler) {
292 ntfs_log.handler = handler;
294 if (handler == ntfs_log_handler_syslog)
298 ntfs_log.handler = ntfs_log_handler_null;
302 * ntfs_log_redirect - Pass on the request to the real handler
307 * @data: User specified data, possibly specific to a handler
312 * main logging handler (as defined in the global logging struct @ntfs_log).
330 ret = ntfs_log.handler(function, file, line, level, data, format, args);
339 * ntfs_log_handler_syslog - syslog logging handler
344 * @data: User specified data, possibly specific to a handler
348 * A simple syslog logging handler. Ignores colors.
420 * ntfs_log_handler_fprintf - Basic logging handler
425 * @data: User specified data, possibly specific to a handler
429 * A simple logging handler. This is where the log line is finally displayed.
430 * It is more likely that you will want to set the handler to either
433 * Note: For this handler, @data is a pointer to a FILE output stream.
498 * ntfs_log_handler_null - Null logging handler (no output)
503 * @data: User specified data, possibly specific to a handler
507 * This handler produces no output. It provides a way to temporarily disable
527 * @data: User specified data, possibly specific to a handler
533 * Note: For this handler, @data is a pointer to a FILE output stream.
557 * @data: User specified data, possibly specific to a handler
564 * Note: For this handler, @data is a pointer to a FILE output stream.
588 * @data: User specified data, possibly specific to a handler
594 * Note: For this handler, @data is a pointer to a FILE output stream.
622 * Note: The "colour" option changes the logging handler.