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) |
| RpcChannel * | RpcChannel_NewBackdoorChannel (GMainContext *mainCtx) |
| typedef void(* RpcChannelResetCb)(struct RpcChannel *chan, gboolean success, gpointer data) |
Signature for the callback function called after a channel reset.
| [in] | chan | The RPC channel. |
| [in] | success | Whether reset was successful. |
| [in] | data | Client data. |
1.5.8