]> git.saurik.com Git - apple/security.git/blobdiff - OSX/sec/SOSCircle/Tool/secToolFileIO.h
Security-57740.51.3.tar.gz
[apple/security.git] / OSX / sec / SOSCircle / Tool / secToolFileIO.h
index a31ffc8d34e205b696f4a8c03112eeacb6cf0991..5601b7e768a12baf5759214d7cbc38623fbd8872 100644 (file)
 #include <time.h>
 #include <CoreFoundation/CoreFoundation.h>
 
-#define printmsg(format, ...) _printcfmsg(outFile, NULL, format, __VA_ARGS__)
-#define printmsgWithFormatOptions(formatOptions, format, ...) _printcfmsg(outFile, formatOptions, format, __VA_ARGS__)
-#define printerr(format, ...) _printcfmsg(errFile, NULL, format, __VA_ARGS__)
+#define printmsg(format, ...) _printcfmsg(outFile, NULL, format, ##__VA_ARGS__)
+#define printmsgWithFormatOptions(formatOptions, format, ...) _printcfmsg(outFile, formatOptions, format, ##__VA_ARGS__)
+#define printerr(format, ...) _printcfmsg(errFile, NULL, format, ##__VA_ARGS__)
 
 extern FILE *outFile;
 extern FILE *errFile;
 
 void _printcfmsg(FILE *ff, CFDictionaryRef formatOptions, CFStringRef format, ...);
 
-int setOutputTo(char *dir, char *filename);
+int SOSLogSetOutputTo(char *dir, char *filename);
 
 void closeOutput(void);