wok view linld/stuff/src/ISO9660.H @ rev 19781

mate-control-center; update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 22 09:33:32 2017 +0100 (2017-02-22)
parents e428345df29a
children 6f494adb2c71
line source
1 #ifndef __ISO9660_H
2 #define __ISO9660_H
3 extern struct isostate {
4 int fd;
5 unsigned long fileofs;
6 unsigned long filesize;
7 unsigned short filemod;
8 char *filename;
9 //private
10 unsigned long dirofs, dirsize;
11 unsigned long curdirofs, curdirsize;
12 unsigned curpos;
13 } isostate;
14 #define isofd isostate.fd
15 #define isofileofs isostate.fileofs
16 #define isofilesize isostate.filesize
17 #define isofilemod isostate.filemod
18 #define isofilename isostate.filename
19 extern "C" unsigned long isolseek(unsigned long offset);
20 extern int isoreset(char *name);
21 extern int isoopen(char *name);
22 extern int isoreaddir(int restart);
23 extern int isoread(char *data, unsigned size);
24 #define isolabel() do { isofileofs=0x8028; isofilesize=32; } while (0)
25 #endif