X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/3a9e92af5fe004d068e161c66e308e4401dfc21b..78d8bc6c001cb877d8c7daf3868835815a97ce21:/src/btree.h diff --git a/src/btree.h b/src/btree.h index 9dbfc54..b001bef 100644 --- a/src/btree.h +++ b/src/btree.h @@ -50,6 +50,7 @@ #include "common.h" #include "clave.h" #include "clave_fija.h" +#include "btree_data.h" /* alias para codear menos :) */ @@ -92,9 +93,9 @@ class BTree { void DelKey (const Clave &k); private: - void write_tree_header (); - void write_block (uchar *block, uint num); + void WriteFileHeader (); + void WriteBlock (uchar *block, uint num); uchar *ReadBlock (uint num); void ReadNodoHeader (uchar *node, BTreeNodeHeader *header);