ARCConvertPathToEntrynum

Syntax

#include <revolution/arc.h>

s32 ARCConvertPathToEntrynum(ARCHandle* handle, const char* pathPtr);

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 the conversion succeeded.

Description

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

See Also

ARCFastOpen, ARCInitHandle

Revision History

2006/05/15 Initial version.


CONFIDENTIAL