# FS_ARCHIVE_PROC_FUNC

## Definition

  `#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 the description of `FSResult` for the return values. When `FS_RESULT_PROC_ASYNC` is 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

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

CONFIDENTIAL