volser: Use unsigned addresses and volume IDs
[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 void vsu_SetCrypt(int cryptflag);
14 extern afs_int32 vsu_ClientInit(int noAuthFlag, const char *confDir, char *cellName, afs_int32 sauth,
15                struct ubik_client **uclientp, int (*secproc)(struct rx_securityClass *, afs_int32));
16 extern int vsu_ExtractName(char rname[], char name[]);
17 extern afs_uint32 vsu_GetVolumeID(char *astring, struct ubik_client *acstruct, afs_int32 *errp);
18 #endif