ARCConvertPathToEntrynum

C Specification

#include <revolution/arc.h>
s32 ARCConvertPathToEntrynum(ARCHandle* handle, const char* pathPtr);

Description

ARCConvertPathToEntrynum converts file paths in the archive into an entry number. Note that the ARCHandle structure must be initialized before attempting conversion.

Arguments

handle Pointer to the file's ARCHandle structure
pathPtr The file name inside the archive file

Return Values

Returns -1 if the file name could not be found in the archive. Returns the entry number (0 or a positive number) if conversion succeeded.

See Also

ARCFastOpen, ARCInitHandle

Revision History

2006/05/15 Initial version.


CONFIDENTIAL