From b7c578fbeff3415ed20d9938b397bea0eb0c10ff Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 15 Jan 1996 22:29:14 +0000 Subject: (pokel_inherit, pokel_finalize): New declarations. --- ext2fs/ext2fs.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ext2fs') diff --git a/ext2fs/ext2fs.h b/ext2fs/ext2fs.h index c5cf5d09..543c2aac 100644 --- a/ext2fs/ext2fs.h +++ b/ext2fs/ext2fs.h @@ -62,6 +62,8 @@ struct pokel }; void pokel_init (struct pokel *pokel, struct pager *pager, void *image); +/* Clean up any state associated with POKEL (but don't free POKEL). */ +void pokel_finalize (struct pokel *pokel); /* Remember that data here on the disk has been modified. */ void pokel_add (struct pokel *pokel, void *loc, vm_size_t length); @@ -71,6 +73,9 @@ void pokel_sync (struct pokel *pokel, int wait); /* Flush (that is, drop on the ground) all pending pokes in POKEL. */ void pokel_flush (struct pokel *pokel); + +/* Transfer all regions from FROM to POKEL, which must have the same pager. */ +void pokel_inherit (struct pokel *pokel, struct pokel *from); /* ---------------------------------------------------------------- */ /* Bitmap routines. */ -- cgit v1.2.3