/* volstub.c */
-extern afs_int32 volImageTime(afs_int32 serv, afs_int32 part, afs_int32 volid,
+extern afs_int32 volImageTime(afs_uint32 serv, afs_int32 part, afs_uint32 volid,
afs_int32 voltype, afs_int32 *clDatePtr);
#endif
{ /*bc_ParseHost */
register struct hostent *th; /*Host entry */
- afs_int32 addr; /*Converted address */
+ afs_uint32 addr; /*Converted address */
afs_int32 b1, b2, b3, b4; /*Byte-sized address chunks */
register afs_int32 code; /*Return code from sscanf() */
afs_int32 tmp1, tmp2;
*/
afs_int32
-volImageTime(afs_int32 serv, afs_int32 part, afs_int32 volid,
+volImageTime(afs_uint32 serv, afs_int32 part, afs_uint32 volid,
afs_int32 voltype, afs_int32 *clDatePtr)
{
afs_int32 code = 0;
struct rx_connection *
UV_Bind(aserver, port)
- afs_int32 aserver, port;
+ afs_uint32 aserver;
+ afs_int32 port;
{
register struct rx_connection *tc;
struct rx_securityClass *uvclass;
/* return host address in network byte order */
-afs_int32
+afs_uint32
GetServer(aname)
char *aname;
{
register struct hostent *th;
- afs_int32 addr;
+ afs_uint32 addr;
char b1, b2, b3, b4;
register afs_int32 code;
PerformDump(register struct cmd_syndesc *as, void *arock)
{
struct rx_connection *aconn;
- afs_int32 server;
+ afs_uint32 server;
FILE *fopen(), *fp;
struct tc_dumpDesc *ptr;
int i;
PerformRestore(register struct cmd_syndesc *as, void *arock)
{
struct rx_connection *aconn;
- afs_int32 server;
+ afs_uint32 server;
int i;
FILE *fopen(), *fp;
struct tc_restoreDesc *ptr;
CheckDump(register struct cmd_syndesc *as, void *arock)
{
struct rx_connection *aconn;
- afs_int32 server;
+ afs_uint32 server;
server = GetServer(SERVERNAME);
if (!server) {
printf("cant get server id \n");
AbortDump(register struct cmd_syndesc *as, void *arock)
{
struct rx_connection *aconn;
- afs_int32 server;
+ afs_uint32 server;
server = GetServer(SERVERNAME);
if (!server) {
printf("cant get server id \n");
WaitForDump(register struct cmd_syndesc *as, void *arock)
{
struct rx_connection *aconn;
- afs_int32 server;
+ afs_uint32 server;
server = GetServer(SERVERNAME);
if (!server) {
printf("cant get server id \n");
EndDump(register struct cmd_syndesc *as, void *arock)
{
struct rx_connection *aconn;
- afs_int32 server;
+ afs_uint32 server;
server = GetServer(SERVERNAME);
if (!server) {
printf("cant get server id \n");