/*
* ------------------------ Exported functions -----------------------
*/
-extern afs_int32 uss_vol_GetServer();
+extern afs_int32 uss_vol_GetServer(char *a_name);
/*
* Summary:
* Given the string name of a desired host, find its address.
* Host address in network byte order.
*/
-extern afs_int32 uss_vol_GetPartitionID();
+extern afs_int32 uss_vol_GetPartitionID(char *a_name);
/*
* Summary:
* Get partition id from a name.
* Numeric partition name, or -1 on failure.
*/
-extern afs_int32 uss_vol_CreateVol();
+extern afs_int32 uss_vol_CreateVol(char *a_volname, char *a_server,
+ char *a_partition, char *a_quota,
+ char *a_mpoint, char *a_owner,
+ char *a_acl);
/*
* Summary:
* Create a volume, set its disk quota, and mount it at the
* Other error code if problem occurred in lower-level call.
*/
-extern afs_int32 uss_vol_DeleteVol();
+extern afs_int32 uss_vol_DeleteVol(char *a_volName, afs_int32 a_volID,
+ char *a_servName, afs_int32 a_servID,
+ char *a_partName, afs_int32 a_partID);
/*
* Summary:
* Delete the given volume.
* Other error code if problem occurred in lower-level call.
*/
-extern afs_int32 uss_vol_GetVolInfoFromMountPoint();
+extern afs_int32 uss_vol_GetVolInfoFromMountPoint(char *a_mountpoint);
/*
* Summary:
* Given a mountpoint, pull out the name of the volume mounted
* Other error code if problem occurred in lower-level call.
*/
+#if 0
extern afs_int32 uss_vol_DeleteMountPoint();
/*
* Summary:
* 1 if there was a problem in the routine itself, or
* Other error code if problem occurred in lower-level call.
*/
-
+#endif
#endif /* _USS_VOL_H_ */