|
|
1.1 ! root 1: /* ! 2: * ! 3: * (c) 2008-2009 Laurent Vivier <[email protected]> ! 4: * ! 5: * This file has been copied from EMILE, http://emile.sf.net ! 6: * ! 7: */ ! 8: ! 9: #ifndef __EXT2_H__ ! 10: #define __EXT2_H__ ! 11: ! 12: #include "ext2_fs.h" ! 13: ! 14: typedef struct ext2_VOLUME { ! 15: int fd; ! 16: struct ext2_super_block *super; ! 17: unsigned int current; ! 18: char *buffer; ! 19: } ext2_VOLUME; ! 20: ! 21: typedef struct ext2_DIR { ! 22: ext2_VOLUME *volume; ! 23: struct ext2_inode *inode; ! 24: off_t index; ! 25: } ext2_DIR; ! 26: ! 27: typedef struct ext2_FILE { ! 28: ext2_VOLUME *volume; ! 29: struct ext2_inode *inode; ! 30: off_t offset; ! 31: char *path; ! 32: } ext2_FILE; ! 33: #endif /* __LIBEXT2_H__ */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.