|
|
1.1 root 1: /*
2: * Creation Date: <2003/12/20 00:57:01 samuel>
3: * Time-stamp: <2004/01/07 19:32:29 samuel>
4: *
5: * <diskio.h>
6: *
7: *
8: *
9: * Copyright (C) 2003, 2004 Samuel Rydh ([email protected])
10: *
11: * This program is free software; you can redistribute it and/or
12: * modify it under the terms of the GNU General Public License
13: * version 2
14: *
15: */
16:
17: #ifndef _H_DISKIO
18: #define _H_DISKIO
19:
20: extern int open_ih( ihandle_t ih );
21: extern int open_io( const char *spec );
22: extern int close_io( int fd );
23: extern int read_io( int fd, void *buf, size_t cnt );
24: extern int seek_io( int fd, long long offs );
25: extern long long tell( int fd );
26: extern int reopen( int fd, const char *filename );
27: extern int reopen_nwrom( int fd );
28: extern ihandle_t get_ih_from_fd( int fd );
29: const char *get_file_path( int fd );
30: const char *get_fstype( int fd );
31: const char *get_volume_name( int fd );
32:
33: #endif /* _H_DISKIO */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.