patch: make *outfile extern
[platform/upstream/cdrkit.git] / libhfs_iso / data.h
1 /*
2  * This file has been modified for the cdrkit suite.
3  *
4  * The behaviour and appearence of the program code below can differ to a major
5  * extent from the version distributed by the original author(s).
6  *
7  * For details, see Changelog file distributed with the cdrkit package. If you
8  * received this file from another source then ask the distributing person for
9  * a log of modifications.
10  *
11  */
12
13 /* @(#)data.h   1.2 01/11/11 joerg */
14 /*
15  * hfsutils - tools for reading and writing Macintosh HFS volumes
16  * Copyright (C) 1996, 1997 Robert Leslie
17  *
18  * This program is free software; you can redistribute it and/or modify
19  * it under the terms of the GNU General Public License as published by
20  * the Free Software Foundation; either version 2 of the License, or
21  * (at your option) any later version.
22  *
23  * This program is distributed in the hope that it will be useful,
24  * but WITHOUT ANY WARRANTY; without even the implied warranty of
25  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26  * GNU General Public License for more details.
27  *
28  * You should have received a copy of the GNU General Public License
29  * along with this program; if not, write to the Free Software
30  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
31  */
32
33 char d_getb(unsigned char *);
34 short d_getw(unsigned char *);
35 long d_getl(unsigned char *);
36
37 void d_putb(unsigned char *, char);
38 void d_putw(unsigned char *, short);
39 void d_putl(unsigned char *, long);
40
41 void d_fetchb(unsigned char **, char *);
42 void d_fetchw(unsigned char **, short *);
43 void d_fetchl(unsigned char **, long *);
44 void d_fetchs(unsigned char **, char *, int);
45
46 void d_storeb(unsigned char **, char);
47 void d_storew(unsigned char **, short);
48 void d_storel(unsigned char **, long);
49 void d_stores(unsigned char **, char *, int);
50
51 unsigned long d_tomtime(unsigned long);
52 unsigned long d_toutime(unsigned long);
53 #ifdef APPLE_HYB
54 unsigned long d_dtoutime(long);
55 #endif /* APPLE_HYB */
56
57 int d_relstring(char *, char *);