Changes by: cha0smaster
Update of /cvsroot/linux-ntfs/ntfsprogs/include/ntfs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16542/include/ntfs
Modified Files:
logging.h
Log Message:
implement POC of syslog logging handler, make ntfsmount to use it
Index: logging.h
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/include/ntfs/logging.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- logging.h 28 Oct 2005 04:12:22 -0000 1.4
+++ logging.h 13 Feb 2006 01:23:31 -0000 1.5
@@ -40,6 +40,7 @@ typedef int (ntfs_log_handler)(const cha
void ntfs_log_set_handler(ntfs_log_handler *handler);
/* Logging handlers */
+ntfs_log_handler ntfs_log_handler_syslog __attribute__((format(printf, 6, 0)));
ntfs_log_handler ntfs_log_handler_fprintf __attribute__((format(printf, 6, 0)));
ntfs_log_handler ntfs_log_handler_null __attribute__((format(printf, 6, 0)));
ntfs_log_handler ntfs_log_handler_stdout __attribute__((format(printf, 6, 0)));
|