2 * Copyright 2000, International Business Machines Corporation and others.
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
10 #include <sys/types.h>
14 #include <netinet/in.h>
16 #include <afs/voldefs.h>
19 #include <rx/rxstat.h>
20 #include <afs/vlserver.h>
22 #include <afs/afsint.h>
23 #include <afs/volint.h>
24 #include <afs/volser.h>
25 #include "../../volser/lockdata.h"
26 #include <afs/afs_utilAdmin.h>
27 #include "../adminutil/afs_AdminInternal.h"
30 extern void Lp_SetRWValue(afs_cell_handle_p cellHandle
,
31 struct nvldbentry
*entry
, afs_int32 oserver
,
32 afs_int32 opart
, afs_int32 nserver
,
35 extern void Lp_SetROValue(afs_cell_handle_p cellHandle
,
36 struct nvldbentry
*entry
, afs_int32 oserver
,
37 afs_int32 opart
, afs_int32 nserver
,
40 extern int Lp_Match(afs_cell_handle_p cellHandle
, struct nvldbentry
*entry
,
41 afs_int32 server
, afs_int32 part
, afs_status_p st
);
43 extern int Lp_ROMatch(afs_cell_handle_p cellHandle
, struct nvldbentry
*entry
,
44 afs_int32 server
, afs_int32 part
, afs_status_p st
);
46 extern int Lp_GetRwIndex(afs_cell_handle_p cellHandle
,
47 struct nvldbentry
*entry
, afs_status_p st
);
49 extern void Lp_QInit(struct qHead
*ahead
);
51 extern void Lp_QAdd(struct qHead
*ahead
, struct aqueue
*elem
);
53 extern int Lp_QScan(struct qHead
*ahead
, afs_int32 id
, int *success
,
54 struct aqueue
**elem
, afs_status_p st
);
56 extern void Lp_QEnumerate(struct qHead
*ahead
, int *success
,
57 struct aqueue
*elem
, afs_status_p st
);