From: VMware, Inc <> Date: Tue, 24 Aug 2010 18:42:57 +0000 (-0700) Subject: Changes in shared code that don't affect open-vm-tools functionality. X-Git-Tag: 2010.08.24-292196~17 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c613e3ba77b4e30af7a88cd5b682808e6e8afdd6;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 1efa81e2b..a97d0cff1 100644 --- a/open-vm-tools/lib/include/log.h +++ b/open-vm-tools/lib/include/log.h @@ -67,11 +67,12 @@ typedef struct Bool useTimeStamp; // Use a log line time stamp Bool useMilliseconds; // Show milliseconds in time stamp Bool fastRotation; // ESX log rotation optimization + Bool preventRemove; // prevert Log_RemoveFile(FALSE) - unsigned int keepOld; // Number of old logs to keep - unsigned int throttleThreshold; // Threshold for throttling - unsigned int throttleBytesPerSec; // BPS for throttle - unsigned int rotateSize; // Size at which log should be rotated + uint32 keepOld; // Number of old logs to keep + uint32 throttleThreshold; // Threshold for throttling + uint32 throttleBPS; // BPS for throttle + uint32 rotateSize; // Size at which log should be rotated SysLogger systemLoggerUse; // System logger options char systemLoggerID[128]; // Identifier for system logger @@ -100,7 +101,9 @@ Bool Log_InitEx(const LogInitParams *params); void Log_UpdateFileControl(Bool append, unsigned keepOld, size_t rotateSize, - Bool fastRotation); + Bool fastRotation, + uint32 throttleThreshold, + uint32 throttleBPS); void Log_UpdatePerLine(Bool perLineTimeStamps, Bool perLineMilliseconds,