12 struct ubik_dbase *dbase;
24 int ubik_BeginTransReadAny()
54 int ubik_WaitVersion()
59 int ubik_CacheUpdate()
69 printf("BACK FROM ABORT\n"); /* shouldn't come back from floating pt exception */
70 exit(1); /* never know, though */
73 int ubik_GetVersion(dummy, ver)
75 struct ubik_version *ver;
77 bzero(ver, sizeof(struct ubik_version));
84 int ubik_Seek(tt, afd, pos)
85 struct ubik_trans *tt;
89 if (lseek(dbase_fd, pos+HDRSIZE, 0) < 0) {
96 int ubik_Write(tt, buf, len)
97 struct ubik_trans *tt;
103 status = write(dbase_fd, buf, len);
105 perror("ubik_Write");
111 int ubik_Read(tt, buf, len)
112 struct ubik_trans *tt;
118 status = read(dbase_fd, buf, len);
124 bzero(&buf[status], len - status);
129 /* Global declarations from ubik.c */
131 struct ubik_dbase *ubik_dbase=0;
132 struct ubik_stats ubik_stats;
134 long ubik_epochTime = 0;
135 long urecovery_state = 0;
137 struct rx_securityClass *ubik_sc[3];
140 /* Other declarations */
142 afsconf_GetNoAuthFlag()
148 char *prdir = "/dev/null";
149 struct prheader cheader;