*/
afs_int32
-dbwrite(ut, pos, buff, len)
- struct ubik_trans *ut;
- afs_int32 pos;
- char *buff;
- afs_int32 len;
+dbwrite(struct ubik_trans *ut, afs_int32 pos, void *buff, afs_int32 len)
{
afs_int32 code = 0;
/* same thing for read */
afs_int32
-dbread(ut, pos, buff, len)
- struct ubik_trans *ut;
- afs_int32 pos;
- char *buff;
- afs_int32 len;
+dbread(struct ubik_trans *ut, afs_int32 pos, void *buff, afs_int32 len)
{
afs_int32 code = 0;
/* Same as dbread excepts it does checking */
afs_int32
-cdbread(ut, type, pos, buff, len)
- struct ubik_trans *ut;
- int type;
- afs_int32 pos;
- char *buff;
- afs_int32 len;
+cdbread(struct ubik_trans *ut, int type, afs_int32 pos, void *buff, afs_int32 len)
{
afs_int32 code = 0;
extern afs_uint32 ht_HashEntry();
extern dbadr ht_LookupBucket();
-extern afs_int32 dbwrite(struct ubik_trans *ut, afs_int32 pos, char *buff, afs_int32 len);
+extern afs_int32 dbwrite(struct ubik_trans *ut, afs_int32 pos, void *buff, afs_int32 len);
+extern afs_int32 dbread(struct ubik_trans *ut, afs_int32 pos, void *buff, afs_int32 len);
+extern afs_int32 cdbread(struct ubik_trans *ut, int type, afs_int32 pos, void *buff, afs_int32 len);
extern void db_panic(char *reason);
extern void ht_Reset(struct memoryHashTable *mht);