X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/746823c78bfbf3337992105d6271460d70de3082..613cc40875512c05124f15dae55e9bb7767c1ea2:/emufs/b_plus.h diff --git a/emufs/b_plus.h b/emufs/b_plus.h index a321ab5..8a78100 100644 --- a/emufs/b_plus.h +++ b/emufs/b_plus.h @@ -3,6 +3,7 @@ #include #include #include "emufs.h" +#include #define SIZE_B_PLUS_HEADER (sizeof(int)*2) #define INDEXSPECS INDICE @@ -32,12 +33,11 @@ typedef struct nodo_b_plus { /** TODO */ int emufs_b_plus_crear(INDEXSPECS *idx); -int emufs_b_plus_get_bloque(INDEXSPECS *idx, INDEX_DAT *query); +int emufs_b_plus_get_bloque(INDEXSPECS *idx, INDEX_DAT *query, int num_node); int emufs_b_plus_insertar(INDEXSPECS *idx, INDEX_DAT *query); int emufs_b_plus_actualizar_nodo(INDEX_DAT *dataset); int emufs_b_plus_buscar(); int emufs_b_plus_destuir(); -int b_plus_insertar_clave(INDEXSPECS *, INDEX_DAT *); NODO_B_PLUS *b_plus_leer_nodo(INDEXSPECS *idx, int num); #endif