Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / afs / afs_osidnlc.h
CommitLineData
805e021f
CE
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 AFSNCNAMESIZE 36 /* multiple of 4 */
11struct nc {
12 unsigned int key;
13 struct nc *next, *prev;
14 struct vcache *dirp, *vp;
15 unsigned char name[AFSNCNAMESIZE];
16 /* I think that we can avoid wasting a byte for NULL, with a
17 * a little bit of thought.
18 */
19};
20
21typedef struct {
22 unsigned int enters, lookups, misses, removes;
23 unsigned int purgeds, purgevs, purgevols, purges;
24 unsigned int cycles, lookuprace;
25} dnlcstats_t;