|
|
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 __LIBEXT2_H__
10: #define __LIBEXT2_H__
11:
12: #include "config.h"
13: #include "ext2.h"
14:
15: extern ext2_VOLUME* ext2_mount(int fd);
16: extern int ext2_umount(ext2_VOLUME *volume);
17: extern ext2_DIR* ext2_opendir(ext2_VOLUME *, const char *name);
18: extern struct ext2_dir_entry_2* ext2_readdir(ext2_DIR* dir);
19: extern void ext2_closedir(ext2_DIR *dir);
20: extern ext2_FILE* ext2_open(ext2_VOLUME *, const char* pathname);
21: extern size_t ext2_read(ext2_FILE *file, void *buf, size_t count);
22: extern void ext2_close(ext2_FILE *file);
23: extern int ext2_lseek(ext2_FILE *file, long offset, int whence);
24:
25: #endif /* __LIBEXT2_H__ */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.