summaryrefslogtreecommitdiff
path: root/lib/libdisk/libdisk.h
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1995-05-03 22:36:52 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1995-05-03 22:36:52 +0000
commitafb3a9c5298aed84a4ecba7528a3c499387db801 (patch)
treed3172256de629248edc621730939916b87dcf99f /lib/libdisk/libdisk.h
parentf3084e4019cffdf3468ef74159742e2c08cf62b8 (diff)
Notes
Diffstat (limited to 'lib/libdisk/libdisk.h')
-rw-r--r--lib/libdisk/libdisk.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/lib/libdisk/libdisk.h b/lib/libdisk/libdisk.h
index b3305a548daa..dfe5db09b548 100644
--- a/lib/libdisk/libdisk.h
+++ b/lib/libdisk/libdisk.h
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: libdisk.h,v 1.9 1995/05/03 06:30:57 phk Exp $
+ * $Id: libdisk.h,v 1.10 1995/05/03 17:37:59 jkh Exp $
*
*/
@@ -40,6 +40,10 @@ struct chunk {
u_long size;
u_long end;
char *name;
+ char *oname;
+ /* Used during Fixup_Names() to avoid renaming more than
+ * absolutely needed.
+ */
chunk_e type;
int subtype;
u_long flags;
@@ -54,6 +58,15 @@ struct chunk {
# define CHUNK_ALIGN 8
# define CHUNK_IS_ROOT 16
/* This 'part' is a rootfs, allocate 'a' */
+
+ void (*private_free)(void*);
+ void *(*private_clone)(void*);
+ void *private;
+ /* For data private to the application, and the management
+ * thereof. If the functions are not provided, no storage
+ * management is done, Cloning will just copy the pointer
+ * and freeing will just forget it.
+ */
};
struct disk *