1vpSetClientData(3)         Library Functions Manual         vpSetClientData(3)
2
3
4

NAME

6       vpSetClientData - define a client data pointer
7

SYNOPSIS

9       #include <volpack.h>
10
11       vpResult
12       vpSetClientData(vpc, client_data)
13           vpContext *vpc;
14           void *client_data;
15

ARGUMENTS

17       vpc    VolPack context from vpCreateContext.
18
19       client_data
20              Pointer to application-specific client data.
21

DESCRIPTION

23       vpSetClientData  is  used  to  store  a pointer to application-specific
24       client data in the VolPack context.  This pointer is passed to some  of
25       the  callback  routines (see vpSetCallback(3)) to allow the application
26       to define its own state variables.  The pointer is not used by VolPack.
27

ERRORS

29       The return value is always VP_OK.
30

SEE ALSO

32       VolPack(3), vpCreateContext(3), vpSetCallback(3)
33
34
35
36VolPack                                                     vpSetClientData(3)
Impressum