vpSetClientData - Man Page
define a client data pointer
Synopsis
#include <volpack.h>
vpResult
vpSetClientData(vpc, client_data)
vpContext *vpc;
void *client_data;
Arguments
- vpc
VolPack context from vpCreateContext.
- client_data
Pointer to application-specific client data.
Description
vpSetClientData is used to store a pointer to application-specific client data in the VolPack context. This pointer is passed to some of the callback routines (see vpSetCallback(3)) to allow the application to define its own state variables. The pointer is not used by VolPack.
Errors
The return value is always VP_OK.
See Also
Referenced By
VolPack(3), vpGeti(3), vpSetCallback(3).
VolPack