packvfs

annotate src/pvfs_impl.h @ 3:ef6c1472607f

jesus fucking christ that was easy... written a test prog "zipcat" to try out zlib's contrib library "minizip", to list and read files out of zip archives directly...
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 04 Nov 2013 06:46:17 +0200
parents
children
rev   line source
nuclear@0 1 #ifndef PVFS_IMPL_H_
nuclear@0 2 #define PVFS_IMPL_H_
nuclear@0 3
nuclear@0 4 #include <stdio.h>
nuclear@0 5 #include <dirent.h>
nuclear@0 6
nuclear@0 7 struct PVFS_FILE {
nuclear@0 8 int real;
nuclear@0 9 FILE *fp;
nuclear@0 10 };
nuclear@0 11
nuclear@0 12 struct PVFS_DIR {
nuclear@0 13 int real;
nuclear@0 14 DIR *dir;
nuclear@0 15 };
nuclear@0 16
nuclear@0 17 #endif /* PVFS_IMPL_H_ */