BRender Technical Reference Manual:4 Data Structures (Alphabetical Reference):brfile_advance_cbfn
Next|Prev|Up
The Call-Back Function
Specification
CBFnFileAdvance()

brfile_advance_cbfn


The Call-Back Function

This type defines a stream advance function, primarily intended for the advance member of the br_filesystem
125 structure.

The typedef

(See brfile.h for a precise declaration)

void brfile_advance_cbfn(br_size_t,void*) Advance

Specification


CBFnFileAdvance()

Description:
An application defined call-back function advancing a file pointer a number of bytes through a binary stream.

Declaration:
void BR_CALLBACK CBFnFileAdvance(br_size_t count, void* f)

Arguments:
br_size_t count

Number of bytes to advance.

void * f

Valid file handle - as returned by CBFnFileOpenRead()376 and CBFnFileOpenWrite()378.

Preconditions:
BRender has completed initialisation. BRender is the only direct caller of this function.

Effects:
Advance file position by count bytes.

Example:
See stdfile.c for examples of filing system functions.



Generated with CERN WebMaker