From: VMware, Inc <> Date: Mon, 20 Dec 2010 22:14:10 +0000 (-0800) Subject: Changes in shared code that don't affect open-vm-tools functionality. X-Git-Tag: 2010.12.19-339835~18 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=85ddf4583db1075a913e8833eae38fe8e36bfd65;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 3bc3fbda0..7397738d4 100644 --- a/open-vm-tools/lib/include/log.h +++ b/open-vm-tools/lib/include/log.h @@ -148,6 +148,8 @@ typedef enum { typedef struct { + uint32 signature; // initialization signature + const char *fileName; // File name, if known const char *config; // Config variable to look up const char *suffix; // Suffix to generate log file name @@ -174,17 +176,27 @@ typedef struct char systemLoggerID[128]; // Identifier for system logger } LogInitParams; +void Log_GetStaticDefaults(LogInitParams *params); + +void Log_ApplyConfigValues(const char *appPrefix, + LogInitParams *params); + void Log_GetInitDefaults(const char *fileName, const char *config, const char *suffix, const char *appPrefix, LogInitParams *params); +Bool Log_InitEx(const LogInitParams *params); + Bool Log_Init(const char *fileName, const char *config, const char *suffix); -Bool Log_InitEx(const LogInitParams *params); +Bool Log_InitWithFile(const char *fileName, + const char *appPrefix); + +Bool Log_InitWithConfig(const char *appPrefix); void Log_UpdateFileControl(Bool append, unsigned keepOld,