]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Changes in shared code that don't affect open-vm-tools functionality.
authorVMware, Inc <>
Tue, 26 Apr 2011 20:16:10 +0000 (13:16 -0700)
committerMarcelo Vanzin <mvanzin@vmware.com>
Tue, 26 Apr 2011 20:16:10 +0000 (13:16 -0700)
Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/libvmtools/vmtoolsInt.h
open-vm-tools/libvmtools/vmtoolsLog.c

index 9b7cf4d8631e0603f2d9bce3e350ee923e8f38e6..6fc9c8704711ff63a99427473838e15b77928d6c 100644 (file)
@@ -94,6 +94,12 @@ VMStdLoggerConfig(const gchar *defaultDomain,
                   GKeyFile *cfg);
 
 #if defined(_WIN32)
+LogHandlerData *
+VMEventLoggerConfig(const gchar *defaultDomain,
+                    const gchar *domain,
+                    const gchar *name,
+                    GKeyFile *cfg);
+
 LogHandlerData *
 VMDebugOutputConfig(const gchar *defaultDomain,
                     const gchar *domain,
index de32cdd5169d44c5211347cc88f22d4a7d3cb379..acb54d89d3197f3ef7ce8ba00b0a03c82f44f3df 100644 (file)
@@ -106,6 +106,9 @@ static LogHandler gHandlers[] = {
 #endif
 #if defined(_WIN32)
    { 4,  "outputdebugstring", VMDebugOutputConfig },
+#if defined(VMTOOLS_USE_GLIB)
+   { 5,  "syslog",            VMEventLoggerConfig },
+#endif
    { -1, NULL,                VMDebugOutputConfig },
 #else
    { 4,  "syslog",            VMSysLoggerConfig },