ClientData(3)

ClientData3

Define a client data pointer

Usage

#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.

Overview

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.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 1 time.

  1. 5.0–10
  2. 11–13

From libvolpack1-dev 1.0b3-10 in Debian 13 (Trixie). Parsed by carta from the page's man source.