From: John Wolfe Date: Wed, 30 Jun 2021 18:37:27 +0000 (-0700) Subject: Changes to a common header file not applicable to open-vm-tools. X-Git-Tag: stable-12.0.0~166 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fac74631a896e3e5b121a024a4293dcede5eaa1;p=thirdparty%2Fopen-vm-tools.git Changes to a common header file not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/log.h b/open-vm-tools/lib/include/log.h index 2359971c6..ba6f2d734 100644 --- a/open-vm-tools/lib/include/log.h +++ b/open-vm-tools/lib/include/log.h @@ -387,6 +387,25 @@ Log_NewFileOutput(const char *appPrefix, struct Dictionary *params, struct CfgInterface *cfgIf); +typedef struct { + uint32 keepOld; + uint32 rotateSize; + uint32 throttleThreshold; + uint32 throttleBPS; + Bool useTimeStamp; + Bool useMilliseconds; + Bool useThreadName; + Bool useLevelDesignator; + Bool useOpID; + Bool append; + Bool syncAfterWrite; + Bool fastRotation; +} LogFileParameters; + +Bool +Log_GetFileParameters(const LogOutput *output, + LogFileParameters *parms); + typedef void (LogCustomMsgFunc)(int level, const char *msg);