3 * dumpscan - routines for scanning and manipulating AFS volume dumps
5 * Copyright (c) 1998 Carnegie Mellon University
8 * Permission to use, copy, modify and distribute this software and its
9 * documentation is hereby granted, provided that both the copyright
10 * notice and this permission notice appear in all copies of the
11 * software, derivative works or modified versions, and any portions
12 * thereof, and that both notices appear in supporting documentation.
14 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
15 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
16 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
18 * Carnegie Mellon requests users of this software to return to
20 * Software Distribution Coordinator or Software_Distribution@CS.CMU.EDU
21 * School of Computer Science
22 * Carnegie Mellon University
23 * Pittsburgh PA 15213-3890
25 * any improvements or extensions that they make and grant Carnegie Mellon
26 * the rights to redistribute these changes.
29 /* internal.h - Routines for internal use only */
35 /* parsevol.c - Routines to parse volume headers */
36 extern afs_uint32 parse_volhdr(XFILE *, unsigned char *, tagged_field *,
37 afs_uint32, tag_parse_info *, void *, void *);
39 /* parsevnode.c - Routines to parse vnodes and their fields */
40 extern afs_uint32 parse_vnode(XFILE *, unsigned char *, tagged_field *,
41 afs_uint32, tag_parse_info *, void *, void *);
43 /* directory.c - Routines for parsing AFS directories */
44 extern afs_uint32 parse_directory(XFILE *, dump_parser *, afs_vnode *,
47 /* backuphdr.c - Generic support for backup system headers */
48 extern afs_uint32 try_backuphdr(XFILE * X, unsigned char *tag,
49 tagged_field * field, afs_uint32 value,
50 tag_parse_info * pi, void *g_refcon,
53 /* util.c - Random utilities */
54 extern afs_uint32 handle_return(int, XFILE *, unsigned char, dump_parser *);
55 extern void prep_pi(dump_parser *, tag_parse_info *);
56 extern afs_uint32 match_next_vnode(XFILE *, dump_parser *, u_int64 *,