X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/2f18bb22e1573898bb70f0a46897fbd032ef2734..477697002803b11be48f7a9317c6c0f82e646cb9:/src/btree.h?ds=sidebyside diff --git a/src/btree.h b/src/btree.h index 6feb5a8..1c08df4 100644 --- a/src/btree.h +++ b/src/btree.h @@ -210,6 +210,7 @@ struct BTreeFileHeader { uint block_size; int tree_type; int key_type; + uint block_data_counter; }; /** Encabezado de un bloque */ @@ -319,6 +320,8 @@ class BTree { std::string filename; BTreeFileHeader header; + uint GetNextBlockData (); + /** Apunta al archivo de datos, asi se abre solo 1 vez * * \todo Ver si vale la pena