1 /* apple_proto.h */
2 /* $OpenBSD: apple_proto.h,v 1.1 2008/03/08 15:36:12 espie Exp $ */
3 /*
4  * Copyright (c) 2008 Marc Espie <espie@openbsd.org>
5  *
6  * Permission to use, copy, modify, and distribute this software for any
7  * purpose with or without fee is hereby granted, provided that the above
8  * copyright notice and this permission notice appear in all copies.
9  *
10  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17  */
18 
19 #ifndef APPLE_PROTO_H
20 #define APPLE_PROTO_H
21 
22 struct directory_entry;
23 struct hfs_info;
24 
25 extern void hfs_init(char *, unsigned short, int, int, unsigned int);
26 extern void clean_hfs(void);
27 extern int hfs_exclude(char *);
28 extern int get_hfs_rname(char *, char *, char *);
29 extern int get_hfs_dir(char *, char *, struct directory_entry *);
30 extern int get_hfs_info(char *, char *, struct directory_entry *);
31 extern void print_hfs_info(struct directory_entry *);
32 extern void delete_rsrc_ent(struct directory_entry *);
33 extern void del_hfs_info(struct hfs_info *);
34 
35 #endif
36