budb: Don't leak memory
[openafs.git] / src / budb / db_lock.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 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 */
17 };
18
19 typedef struct db_lockS db_lockT;
20 typedef db_lockT db_lockP;