~n-muench/ubuntu/precise/open-vm-tools/open-vm-tools-precise.sid-merge1

« back to all changes in this revision

Viewing changes to services/plugins/powerOps/powerOps.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-12-06 07:45:05 UTC
  • mfrom: (1.1.8 upstream) (2.4.10 sid)
  • Revision ID: james.westby@ubuntu.com-20091206074505-43rp7oejjgp0y2re
Tags: 2009.11.16-210370-1
* Merging upstream version 2009.11.16-210370.
* Moving vmusr plugins from open-vm-tools to open-vm-toolbox (Closes:
  #539282, #557215).
* Correcting plugin location (Closes: #545222, #549044).
* Dropping la files (Closes: #551626).
* Adding open-vm-toolbox lintian overrides.
* Removing test plugin.
* Removing unused plugin symlinks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
#include "vm_assert.h"
28
28
#include "vm_basic_defs.h"
29
 
#include "vmtoolsApp.h"
30
29
 
31
30
#include "conf.h"
32
31
#include "procMgr.h"
33
32
#include "system.h"
34
 
#include "vmtools.h"
35
33
#include "vmware/guestrpc/powerops.h"
 
34
#include "vmware/tools/plugin.h"
 
35
#include "vmware/tools/utils.h"
36
36
 
37
37
#if defined(G_PLATFORM_WIN32)
38
38
#  define INVALID_PID NULL
390
390
 * @return TRUE on success.
391
391
 */
392
392
 
393
 
static Bool
 
393
static gboolean
394
394
PowerOpsStateChange(RpcInData *data)
395
395
{
396
396
   size_t i;
481
481
         }
482
482
 
483
483
         g_free(script);
484
 
         return RPCIN_SETRETVALS(data, result, ret);
 
484
         return RPCIN_SETRETVALS(data, (char *) result, ret);
485
485
      }
486
486
   }
487
487