Provided by: libvolpack1-dev_1.0b3-3_amd64
vpSetClientData - define a client data pointer
#include <volpack.h> vpResult vpSetClientData(vpc, client_data) vpContext *vpc; void *client_data;
vpc VolPack context from vpCreateContext. client_data Pointer to application-specific client data.
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.
The return value is always VP_OK.
VolPack(3), vpCreateContext(3), vpSetCallback(3)