open-vm-tools 12.1.5
Data Structures | Macros | Typedefs | Enumerations
gdp.h File Reference
#include <glib-object.h>
#include "vmware/tools/plugin.h"
Include dependency graph for gdp.h:

Go to the source code of this file.

Data Structures

struct  ToolsPluginSvcGdp
 Type of the public interface of the gdp plugin service. More...
 

Macros

#define GDP_MAX_PACKET_LEN   (17 * 4096 - 24)
 
#define GDP_USER_DATA_LEN   (12 * 4096)
 
#define TOOLS_PLUGIN_SVC_PROP_GDP   "tps_prop_gdp"
 
#define GDP_ERR_LIST
 
#define GDP_ERR_ITEM(a, b)   a,
 

Typedefs

typedef enum GdpError GdpError
 
typedef struct ToolsPluginSvcGdp ToolsPluginSvcGdp
 Type of the public interface of the gdp plugin service. More...
 

Enumerations

enum  GdpError { GDP_ERR_MAX }
 

Detailed Description

Public interface of the "gdp" plugin service.

Macro Definition Documentation

◆ GDP_ERR_LIST

#define GDP_ERR_LIST
Value:
GDP_ERR_ITEM(GDP_ERROR_SUCCESS = 0, \
"No error") \
GDP_ERR_ITEM(GDP_ERROR_INVALID_DATA, \
"Invalid data") \
GDP_ERR_ITEM(GDP_ERROR_DATA_SIZE, \
"Data size too large") \
GDP_ERR_ITEM(GDP_ERROR_GENERAL, \
"General error") \
GDP_ERR_ITEM(GDP_ERROR_STOP, \
"Stopped for vmtoolsd shutdown") \
GDP_ERR_ITEM(GDP_ERROR_UNREACH, \
"Host daemon unreachable") \
GDP_ERR_ITEM(GDP_ERROR_TIMEOUT, \
"Operation timed out")

Typedef Documentation

◆ ToolsPluginSvcGdp

Type of the public interface of the gdp plugin service.

This struct is published in the tools application context service object's TOOLS_PLUGIN_SVC_PROP_GDP property.