Update NEWS for 1.6.22
[pkg-k5-afs_openafs.git] / src / budb / db_lock.h
blob95e621656c7a198c77383f330d5b2490a038dae3
1 /*
2 * Copyright 2000, International Business Machines Corporation and others.
3 * All Rights Reserved.
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 */
10 struct db_lockS {
11 afs_int32 type; /* user defined - for consistency checks */
12 afs_int32 lockState; /* locked/free */
13 afs_int32 lockTime; /* when locked */
14 afs_int32 expires; /* when timeout expires */
15 afs_int32 instanceId; /* user instance id */
16 int lockHost; /* locking host, if possible */
19 typedef struct db_lockS db_lockT;
20 typedef db_lockT db_lockP;