Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / vol / test / listVicepx.h
1 /*
2 * Copyright 2000, International Business Machines Corporation and others.
3 * All Rights Reserved.
4 *
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
8 */
9
10 #define MAX_HASH_SIZE 100
11 #define MAX_STACK_SIZE 1000
12
13 typedef struct vnodeName {
14 int vnode;
15 int vunique; /* uniquefier */
16 char *name; /* name for this vnode */
17 } VnodeName;
18
19 typedef struct dirEnt {
20 int vnode; /* this directory's vnode */
21 int inode; /* this directory's inode */
22 int vnodeParent; /* parent directory's vnode */
23 int numEntries; /* number of enrtries in this directory */
24 VnodeName *vnodeName; /* the entries themselves */
25 struct dirEntry *next; /* used by hash table */
26 } DirEnt;