return obuck_fb;
}
-void
-obuck_fetch_end(struct fastbuf *b UNUSED)
-{
-}
-
oid_t
obuck_predict_last_oid(void)
{
die("Contents mismatch");
if (bgetc(b) != EOF)
die("EOF mismatch");
- obuck_fetch_end(b);
+ bclose(b);
}
if (obuck_find_first(&h, 0))
do
/* Reading current bucket */
struct fastbuf *obuck_fetch(void);
-void obuck_fetch_end(struct fastbuf *b);
/* Creating buckets */
struct fastbuf *obuck_create(u32 type);
b = obuck_fetch();
while ((l = bread(b, buf, sizeof(buf))))
fwrite(buf, 1, l, stdout);
- obuck_fetch_end(b);
+ bclose(b);
obuck_cleanup();
}