GuestRPC functions

Functions related to reading and writing data on a GuestRPC channel. More...

Data Structures

struct  RpcChannelCallback
struct  RpcChannel

Typedefs

typedef Bool(* RpcChannelStartFn )(struct RpcChannel *)
typedef void(* RpcChannelStopFn )(struct RpcChannel *)
typedef void(* RpcChannelShutdownFn )(struct RpcChannel *)
typedef Bool(* RpcChannelSendFn )(struct RpcChannel *, char *data, size_t dataLen, char **result, size_t *resultLen)
typedef void(* RpcChannelResetCb )(struct RpcChannel *chan, gboolean success, gpointer data)

Functions

Bool RpcChannel_BuildXdrCommand (const char *cmd, void *xdrProc, void *xdrData, char **result, size_t *resultLen)
gboolean RpcChannel_Destroy (RpcChannel *chan)
Bool RpcChannel_Dispatch (RpcInData *data)
void RpcChannel_Setup (RpcChannel *chan, const gchar *appName, GMainContext *mainCtx, gpointer appCtx, RpcChannelResetCb resetCb, gpointer resetData)
void RpcChannel_RegisterCallback (RpcChannel *chan, RpcChannelCallback *rpc)
void RpcChannel_UnregisterCallback (RpcChannel *chan, RpcChannelCallback *rpc)
RpcChannelRpcChannel_NewBackdoorChannel (GMainContext *mainCtx)

Detailed Description

Functions related to reading and writing data on a GuestRPC channel.


Typedef Documentation

typedef void(* RpcChannelResetCb)(struct RpcChannel *chan, gboolean success, gpointer data)

Signature for the callback function called after a channel reset.

Parameters:
[in] chan The RPC channel.
[in] success Whether reset was successful.
[in] data Client data.

Generated on 20 Oct 2009 for open-vm-tools 2009.10.15 by  doxygen 1.6.1