X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fbucket.h;h=b493305d20a30c800268dcc04ee1883f0e4bcadd;hb=ed7c7b20afed72df0d4195548ec5346f1daac1d1;hp=ac14a6ddb01c99c070054b023140dd1798bb850d;hpb=eefcb6d5ecc617a2cb2e35a220848e187585ff14;p=libucw.git diff --git a/lib/bucket.h b/lib/bucket.h index ac14a6dd..b493305d 100644 --- a/lib/bucket.h +++ b/lib/bucket.h @@ -17,7 +17,9 @@ * * Locking: Each operation on the pool is protected by a flock. * - * The buckets emulate non-seekable fastbuf streams. + * The buckets emulate fastbuf streams. Read streams act as normal files, + * but there can be only one write stream which is non-seekable and you + * also shouldn't open new read streams when writing. * * fork()'ing if you don't have any bucket open is safe. */ @@ -64,7 +66,6 @@ int obuck_find_next(struct obuck_header *hdrp, int full); /* Reading current bucket */ struct fastbuf *obuck_fetch(void); -void obuck_fetch_end(struct fastbuf *b); /* Creating buckets */ struct fastbuf *obuck_create(u32 type);