#include <cafe/zipfile.h> int ZIPFILE_Find(ZIPPED_DIR *apDir, char const *apFileName, ZIPPED_FILE **apRetFilePtr);
|apDir||Pointer to the
|apFileName||Filename or subdirectory+filename of the file to find. Case insensitive search is used.|
|apRetFilePtr||Pointer to pointer to receive address of the
Returns zero for success or an error code to indicate failure.
|The directory (if specified) was found, but the file was not.|
|A directory specified as part of the path was not found.|
|And argument passed to the function was not valid.|
This is a helper function that can locate a file that is in a directory or subdirectory contained in a ZIPFILE manifest.
There is a demonstration of usage of the helper library in the demo folder:
|Multiple threads||This function is not thread-safe.|
2011/10/19 Added Examplemake.
2011/03/11 Initial version.