ToolsAppCtx Struct Reference
[VMware Tools Plugins]

#include <vmtoolsApp.h>

Collaboration diagram for ToolsAppCtx:

Collaboration graph
[legend]

Data Fields

ToolsCoreAPI version
const gchar * name
gboolean isVMware
int errorCode
GMainLoop * mainLoop
RpcChannelrpc
GKeyFile * config
int blockFD
const char ** envp
gpointer serviceObj

Detailed Description

Defines the context of a tools application. This data is provided by the core services to applications when they're loaded.

Field Documentation

Supported API versions. This is a bit-mask.

const gchar* ToolsAppCtx::name

Name of the application.

Whether we're running under a VMware hypervisor.

Error code to return from the main loop.

The main loop instance for the service.

The RPC channel used to communicate with the VMX.

Service configuration from the config file.

The FD to access the VMware blocking fs. -1 if no FD available.

const char** ToolsAppCtx::envp

The native environment (without any VMware modifications).

A GObject instance shared among all plugins. The object itself doesn't provide any functionality; but the service emits a few signals on this object (see the signal name declarations in this header), and plugins can register and emit their own signals using this object.


The documentation for this struct was generated from the following file:

Generated on Wed Nov 4 15:44:55 2009 for open-vm-tools 2009.10.15 by  doxygen 1.5.5