typedef void (*PK_FFOPRB_f_t)(const int *guise,
const int *minsiz, const int *maxsiz,
int *actsiz, int *strid, int *ifail);
Open rollback file. This function is documented for legacy
purposes only, and should not be implemented for new Parasolid applications.
Receives:
int *guise --- class of file: FFCROL (rollback)
int *minsiz --- minimum size of file (bytes)
int *maxsiz --- maximum size of file (bytes)
Returns:
int *actsiz --- actual size of file (bytes)
int *strid --- frustrum strid
int *ifail --- error code: FR_no_errors
--- FR_open_fail
--- FR_disc_full
Description:
This function opens a new binary rollback file, returning a frustrum stream
identifier or strid for use by FFREAD, FFWRIT, FFTELL, FFSEEK and FFCLOS.
The file is allocated a length of between minsiz and maxsiz bytes, the
actual size being returned in actsiz. The actual size is normally
maxsiz bytes, but may be reduced, for example, to give a whole number of
disc blocks or if insufficient disc space is available.