diff options
author | Robb Matzke <matzke@llnl.gov> | 1997-11-07 05:16:53 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1997-11-07 05:16:53 (GMT) |
commit | 73897627660169de753597b9ff045d3112646506 (patch) | |
tree | b02e9ffd202a7448cdf4bc0bdfe5da728dde862b /src/H5Bprivate.h | |
parent | 833e82fec5f654c1ed93a6e4e4266f280e20311c (diff) | |
download | hdf5-73897627660169de753597b9ff045d3112646506.zip hdf5-73897627660169de753597b9ff045d3112646506.tar.gz hdf5-73897627660169de753597b9ff045d3112646506.tar.bz2 |
[svn-r135] ./config/linux
./config/freebsd2.2.1
Rewritten to be more flexible.
./src/H5AC.c
./src/H5ACprivate.h
./src/H5F.c
./src/H5H.c
./src/H5Gpkg.h
./src/H5Gshad.c
./src/H5O.c
./test/istore.c
./test/tstab.c
Accumulates cache statistics and displays the results on
stderr when the file is closed if it was opened with
H5F_ACC_DEBUG passed into H5F_open()
./src/H5B.c
./src/H5Bprivate.h
./src/H5Fistore.c
./src/H5Gnode.c
Added more debugging which is turned on if H5B_DEBUG is
defined on the compile command (see config/linux).
Fixed a couple of bugs with left insertions which are used by
the indexed storage stuff.
./src/H5Flow.c
Fixed a memory leak.
./src/H5Fprivate.h
Fixed warnings about shifting more than size of object.
./src/H5Fstdio.c
Fixed seek optimizations back to the way Quincey originally
had them.
./src/H5V.c
Removed unused variables.
Diffstat (limited to 'src/H5Bprivate.h')
-rw-r--r-- | src/H5Bprivate.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/H5Bprivate.h b/src/H5Bprivate.h index 05e2e56..619a00f 100644 --- a/src/H5Bprivate.h +++ b/src/H5Bprivate.h @@ -38,7 +38,8 @@ typedef enum H5B_ins_t { H5B_INS_NOOP =0, /*insert made no changes */ H5B_INS_LEFT =1, /*insert new node to left of cur node */ H5B_INS_RIGHT =2, /*insert new node to right of cur node */ - H5B_INS_CHANGE =3 /*change child address for cur node */ + H5B_INS_CHANGE =3, /*change child address for cur node */ + H5B_INS_FIRST =4 /*insert first node in (sub)tree */ } H5B_ins_t; typedef enum H5B_subid_t { @@ -59,8 +60,9 @@ typedef struct H5B_class_t { H5B_subid_t id; /*id as found in file */ size_t sizeof_nkey; /*size of native (memory) key */ size_t (*get_sizeof_rkey)(H5F_t*,const void*);/*raw key size */ - haddr_t (*new)(H5F_t*,void*,void*,void*); /*create new leaf */ - intn (*cmp)(H5F_t*,void*,void*,void*); /*compare keys */ + haddr_t (*new)(H5F_t*,H5B_ins_t,void*,void*,void*); /*new leaf */ + intn (*cmp2)(H5F_t*,void*,void*,void*); /*compare 2 keys */ + intn (*cmp3)(H5F_t*,void*,void*,void*); /*compare 3 keys */ herr_t (*found)(H5F_t*,haddr_t,const void*,void*,const void*); haddr_t (*insert)(H5F_t*,haddr_t,H5B_ins_t*,void*,hbool_t*,void*,void*, void*,hbool_t*); /*insert new data */ |