]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Changes to a common header file not applicable to open-vm-tools.
authorJohn Wolfe <jwolfe@vmware.com>
Wed, 30 Jun 2021 18:37:27 +0000 (11:37 -0700)
committerJohn Wolfe <jwolfe@vmware.com>
Wed, 30 Jun 2021 18:37:27 +0000 (11:37 -0700)
open-vm-tools/lib/include/log.h

index 2359971c63fd3a32f5ad78bb7c38fa924214feeb..ba6f2d734621b658630e75ebb328439997fdafa2 100644 (file)
@@ -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);