Update NEWS for 1.6.22
[pkg-k5-afs_openafs.git] / src / volser / volser_prototypes.h
blobe41f37cd1b4317f2a52b0ccedc8806731c8969ec
1 /*
2 * Copyright 2000, International Business Machines Corporation and others.
3 * All Rights Reserved.
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 */
10 #ifndef AFS_SRC_VOLSER_PROTOTYPES_H
11 #define AFS_SRC_VOLSER_PROTOTYPES_H
13 struct nvldbentry;
14 struct volintInfo;
16 /* vsprocs.c */
17 extern void MapPartIdIntoName(afs_int32 partId, char *partName);
19 extern void MapHostToNetwork(struct nvldbentry *entry);
21 extern struct rx_connection *UV_Bind(afs_uint32 aserver, afs_int32 port);
23 extern int UV_CreateVolume(afs_uint32 aserver, afs_int32 apart, char *aname,
24 afs_uint32 * anewid);
26 extern int UV_DeleteVolume(afs_uint32 aserver, afs_int32 apart,
27 afs_uint32 avolid);
29 extern int UV_SetSecurity(struct rx_securityClass *as,
30 afs_int32 aindex);
32 extern int UV_ListOneVolume(afs_uint32 aserver, afs_int32 apart,
33 afs_uint32 volid, struct volintInfo **resultPtr);
35 extern int UV_RestoreVolume(afs_uint32 toserver, afs_int32 topart,
36 afs_uint32 tovolid, char tovolname[],
37 int restoreflags,
38 afs_int32(*WriteData) (struct rx_call *, void *),
39 void *rock);
40 #endif