From: VMware, Inc <> Date: Sat, 28 May 2011 19:54:55 +0000 (-0700) Subject: Changes in shared code that don't affect open-vm-tools functionality. X-Git-Tag: 2011.05.27-420096~37 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5742e101c42d213cda31a704453ada3fde0255c3;p=thirdparty%2Fopen-vm-tools.git Changes in shared code that don't affect open-vm-tools functionality. Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/lib/include/log.h b/open-vm-tools/lib/include/log.h index 08be89c3a..89888be8a 100644 --- a/open-vm-tools/lib/include/log.h +++ b/open-vm-tools/lib/include/log.h @@ -159,8 +159,9 @@ Log_Trivia(const char *fmt, /* Forward decl */ struct MsgList; -typedef void (LogBasicFunc)(const char *fmt, - va_list args); +typedef void (LogOutputFunc)(int level, + const char *fmt, + va_list args); typedef enum { @@ -238,8 +239,7 @@ void Log_BackupOldFiles(const char *fileName, Bool noRename); Bool Log_CopyFile(const char *fileName, struct MsgList **errs); uint32 Log_MaxLineLength(void); -void Log_RegisterBasicFunctions(LogBasicFunc *log, - LogBasicFunc *warning); +void Log_RegisterOutputFunction(LogOutputFunc *func); Bool Log_SetOutput(const char *fileName, const char *config,