Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / volser / vsutils_prototypes.h
1 #ifndef _VSUTILS_PROTOTYPES_H
2 #define _VSUTILS_PROTOTYPES_H
3 /* vsutils.c */
4
5 extern int VLDB_CreateEntry(struct nvldbentry *entryp);
6 extern int VLDB_GetEntryByID(afs_uint32 volid, afs_int32 voltype, struct nvldbentry *entryp);
7 extern int VLDB_GetEntryByName(char *namep, struct nvldbentry *entryp);
8 extern int VLDB_ReplaceEntry(afs_uint32 volid, afs_int32 voltype, struct nvldbentry *entryp, afs_int32 releasetype);
9 extern int VLDB_ListAttributes(VldbListByAttributes *attrp, afs_int32 *entriesp, nbulkentries *blkentriesp);
10 extern int VLDB_ListAttributesN2(VldbListByAttributes *attrp, char *name, afs_int32 thisindex,
11 afs_int32 *nentriesp, nbulkentries *blkentriesp, afs_int32 *nextindexp);
12 extern int VLDB_IsSameAddrs(afs_uint32 serv1, afs_uint32 serv2, afs_int32 *errorp);
13 extern int vsu_ExtractName(char rname[], char name[]);
14 extern afs_uint32 vsu_GetVolumeID(char *astring, struct ubik_client *acstruct, afs_int32 *errp);
15 #endif