FS_ARCHIVE_PROC_FUNC


C Specification

#include <nitro/fs.h>

typedef FSResult (*FS_ARCHIVE_PROC_FUNC)
    (struct FSFile*, FSCommandType);
    

Description

Defines the function formats of the user procedures specified in the archive.
The file system calls this function as a callback as necessary. User procedures must return appropriate values after processes.

See description of FSResult for return values.

When FS_RESULT_PROC_ASYNC is returned as the return value, you must call the FS_NotifyArchiveAsyncEnd function upon completion of asynchronous processing, and notify the archive.

See Also

FSArchive, FSCommandType, FSResult, FS_SetArchiveProc, FS_NotifyArchiveAsyncEnd

Revision History

11/02/2004 Corrected the function declaration.
07/12/2004 Added description of return values.
06/30/2004 Initial version.