#include <revolution/arc.h>
s32 ARCConvertPathToEntrynum(ARCHandle* handle, const char* pathPtr);
ARCConvertPathToEntrynum converts file paths in the archive into an entry number. Note that the ARCHandle structure must be initialized before attempting conversion.
handle |
Pointer to the file's ARCHandle structure |
pathPtr |
The file name inside the archive file |
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.
2006/05/15 Initial version.
CONFIDENTIAL