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
11 #include <afs/afs_Admin.h>
12 #include <afs/vlserver.h>
13 #include "../adminutil/afs_AdminInternal.h"
15 extern int VLDB_CreateEntry(afs_cell_handle_p cellHandle
,
16 struct nvldbentry
*entryp
, afs_status_p st
);
18 extern int aVLDB_GetEntryByID(afs_cell_handle_p cellHandle
, afs_uint32 volid
,
19 afs_int32 voltype
, struct nvldbentry
*entryp
,
23 extern int aVLDB_GetEntryByName(afs_cell_handle_p cellHandle
,
24 char *namep
, struct nvldbentry
*entryp
,
27 extern int VLDB_ReplaceEntry(afs_cell_handle_p cellHandle
, afs_uint32 volid
,
28 afs_int32 voltype
, struct nvldbentry
*entryp
,
29 afs_int32 releasetype
, afs_status_p st
);
31 extern int VLDB_ListAttributes(afs_cell_handle_p cellHandle
,
32 VldbListByAttributes
* attrp
,
34 nbulkentries
* blkentriesp
, afs_status_p st
);
36 extern int VLDB_ListAttributesN2(afs_cell_handle_p cellHandle
,
37 VldbListByAttributes
* attrp
, char *name
,
38 afs_int32 thisindex
, afs_int32
* nentriesp
,
39 nbulkentries
* blkentriesp
,
40 afs_int32
* nextindexp
, afs_status_p st
);
42 extern int VLDB_IsSameAddrs(afs_cell_handle_p cellHandle
, afs_int32 serv1
,
43 afs_int32 serv2
, int *equal
, afs_status_p st
);
45 extern int GetVolumeInfo(afs_cell_handle_p cellHandle
, unsigned int volid
,
46 struct nvldbentry
*rentry
, afs_int32
* server
,
47 afs_int32
* partition
, afs_int32
* voltype
,
50 extern int ValidateVolumeName(const char *volumeName
, afs_status_p st
);
52 extern int vsu_ExtractName(char *rname
, char *name
);
54 extern int RemoveBadAddresses(afs_int32
* totalp
, bulkaddrs
* addrsp
);