FS_FindArchive

Syntax

#include <nitro/fs.h>

FSArchive* FS_FindArchive(const char *name, int name_len);

Arguments

name Pointer to the string storing the search target name
name_len The string length of name

Return Values

If there is already an archive registered with the specified name, the function returns the pointer to that archive. Otherwise, it returns NULL.

Description

Searches to determine whether or not an archive with the specified name has been registered in the file system. Returns the pointer to the archive if it exists. The pointer is returned even if the archive has not been loaded.

See Also

FSArchive, FS_ARCHIVE_NAME_LEN_MAX, FS_RegisterArchiveName, FS_LoadArchive

Revision History

2004/07/12 Initial version.


CONFIDENTIAL