/**
* This function is the equivalent of => opendir(3) for a realdir or zipfile.
- * <p>
+ *
* This function has some magic - if the given argument-path
* is a directory, it will wrap a real => opendir(3) into the ZZIP_DIR
* structure. Otherwise it will divert to => zzip_dir_open which
* can also attach a ".zip" extension if needed to find the archive.
- * <p>
+ *
* the error-code is mapped to => errno(3).
*/
ZZIP_DIR*
/**
* This function is the equivalent of => closedir(3) for a realdir or zipfile.
- * <p>
+ *
* This function is magic - if the given arg-ZZIP_DIR
* is a real directory, it will call the real => closedir(3) and then
* free the wrapping ZZIP_DIR structure. Otherwise it will divert
return 0;
}
-/**
+/** => zzip_dir_free
* It will also => free(2) the => ZZIP_DIR-handle given.
* the counterpart for => zzip_dir_open
* see also => zzip_dir_free
* zip-archive as specified with the fd which points to an
* already openend file. This function then search and parse
* the zip's central directory.
- * <p>
+ *
* NOTE: refcount is zero, so an _open/_close pair will also delete
* this _dirhandle
*/
}
}
-/**
+/** => zzip_dir_open
* fills the dirent-argument with the values and
* increments the read-pointer of the dir-argument.
- * <p>
+ *
* returns 0 if there no entry (anymore).
*/
int