summaryrefslogtreecommitdiff
path: root/libdiskfs/diskfs.h
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-05-24 14:37:20 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-08-25 13:04:28 +0200
commite507800e47973422c080a308955f8d46edc5d706 (patch)
tree5e6d016e9b523c3c0a5acfb128e7bd0cf93c81a9 /libdiskfs/diskfs.h
parent26e0ea9356e45a2aa1810b99c4341ebf6298bf05 (diff)
libdiskfs: add missing declarations
* libdiskfs/diskfs.h (diskfs_node_disknode): Add missing declaration. (diskfs_disknode_node): Likewise.
Diffstat (limited to 'libdiskfs/diskfs.h')
-rw-r--r--libdiskfs/diskfs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libdiskfs/diskfs.h b/libdiskfs/diskfs.h
index d98de8ff..11fb0ad1 100644
--- a/libdiskfs/diskfs.h
+++ b/libdiskfs/diskfs.h
@@ -732,6 +732,14 @@ struct node *diskfs_make_node_alloc (size_t size);
this value for offset calculations. */
extern const size_t _diskfs_sizeof_struct_node;
+/* Return the address of the disknode for NODE. NODE must have been
+ allocated using diskfs_make_node_alloc. */
+struct disknode *diskfs_node_disknode (struct node *node);
+
+/* Return the address of the node for DISKNODE. DISKNODE must have
+ been allocated using diskfs_make_node_alloc. */
+struct node *diskfs_disknode_node (struct disknode *disknode);
+
#if defined(__USE_EXTERN_INLINES) || defined(DISKFS_DEFINE_EXTERN_INLINE)
/* Return the address of the disknode for NODE. NODE must have been