summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-01-15 22:29:14 +0000
committerMiles Bader <miles@gnu.org>1996-01-15 22:29:14 +0000
commitb7c578fbeff3415ed20d9938b397bea0eb0c10ff (patch)
treea7cff55b0788a7a721aa59ee739def03bc953b95
parentc3e956775fe5d7f57049b15283a62824d9e467e0 (diff)
(pokel_inherit, pokel_finalize): New declarations.
-rw-r--r--ext2fs/ext2fs.h5
1 files changed, 5 insertions, 0 deletions
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. */