OpenAFS
OpenAFS distributed network file system
|
representation of a ubik database. More...
#include <ubik.h>
Data Fields | |
char * | pathName |
root name for dbase | |
struct ubik_trans * | activeTrans |
active transaction list | |
struct ubik_version | version |
version number | |
struct Lock | versionLock |
lock on version number | |
afs_int32 | tidCounter |
last RW or RO trans tid counter | |
afs_int32 | writeTidCounter |
last write trans tid counter | |
afs_int32 | flags |
flags | |
int(* | read )(struct ubik_dbase *adbase, afs_int32 afile, void *abuffer, afs_int32 apos, afs_int32 alength) |
int(* | write )(struct ubik_dbase *adbase, afs_int32 afile, void *abuffer, afs_int32 apos, afs_int32 alength) |
int(* | truncate )(struct ubik_dbase *adbase, afs_int32 afile, afs_int32 asize) |
int(* | sync )(struct ubik_dbase *adbase, afs_int32 afile) |
int(* | stat )(struct ubik_dbase *adbase, afs_int32 afid, struct ubik_stat *astat) |
void(* | open )(struct ubik_dbase *adbase, afs_int32 afid) |
int(* | setlabel )(struct ubik_dbase *adbase, afs_int32 afile, struct ubik_version *aversion) |
set the version label | |
int(* | getlabel )(struct ubik_dbase *adbase, afs_int32 afile, struct ubik_version *aversion) |
retrieve the version label | |
int(* | getnfiles )(struct ubik_dbase *adbase) |
find out number of files | |
short | readers |
number of current read transactions | |
struct ubik_version | cachedVersion |
version of caller's cached data | |
struct Lock | cache_lock |
protects cached application data |
representation of a ubik database.
Contains info on low-level disk access routines for use by disk transaction module.