Note that the host named by myHost should not also be listed in serverList.
*/
-int
-ubik_ServerInitByInfo(afs_int32 myHost, short myPort,
- struct afsconf_cell *info, char clones[],
- char *pathName, struct ubik_dbase **dbase)
-{
- afs_int32 code;
-
- code =
- ubik_ServerInitCommon(myHost, myPort, info, clones, 0, pathName,
- dbase);
- return code;
-}
-
-int
-ubik_ServerInit(afs_int32 myHost, short myPort, afs_int32 serverList[],
- char *pathName, struct ubik_dbase **dbase)
-{
- afs_int32 code;
-
- code =
- ubik_ServerInitCommon(myHost, myPort, (struct afsconf_cell *)0, 0,
- serverList, pathName, dbase);
- return code;
-}
-
int
ubik_ServerInitCommon(afs_int32 myHost, short myPort,
struct afsconf_cell *info, char clones[],
return code;
}
+int
+ubik_ServerInitByInfo(afs_int32 myHost, short myPort,
+ struct afsconf_cell *info, char clones[],
+ char *pathName, struct ubik_dbase **dbase)
+{
+ afs_int32 code;
+
+ code =
+ ubik_ServerInitCommon(myHost, myPort, info, clones, 0, pathName,
+ dbase);
+ return code;
+}
+
+int
+ubik_ServerInit(afs_int32 myHost, short myPort, afs_int32 serverList[],
+ char *pathName, struct ubik_dbase **dbase)
+{
+ afs_int32 code;
+
+ code =
+ ubik_ServerInitCommon(myHost, myPort, (struct afsconf_cell *)0, 0,
+ serverList, pathName, dbase);
+ return code;
+}
+
/* This routine begins a read or write transaction on the transaction
identified by transPtr, in the dbase named by dbase. An open mode of
ubik_READTRANS identifies this as a read transaction, while a mode of