X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/e642d903800bc569707379b4a7f48293077d3c99..52d9e098f15ad0ca70f11b4549f3d55f55a22a83:/src/btree.h?ds=sidebyside diff --git a/src/btree.h b/src/btree.h index 06a6941..14ef604 100644 --- a/src/btree.h +++ b/src/btree.h @@ -93,12 +93,13 @@ class BTree { void DelKey (const Clave &k); private: - Clave* AddKeyR (const Clave *k, uint node_num); + Clave* AddKeyR (const Clave *k, uint node_num, uint &left_child, uint &right_child); void WriteFileHeader (); void WriteBlock (uchar *block, uint num); uchar *ReadBlock (uint num); + uchar *NewBlock (uint &num); void ReadNodoHeader (uchar *node, BTreeNodeHeader *header); void WriteNodoHeader (uchar *node, BTreeNodeHeader *header);