diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1998-10-19 22:25:03 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1998-10-19 22:25:03 (GMT) |
commit | cd4af9da246ec1d8b993194b9091be4427422d05 (patch) | |
tree | 3a51a9e7c3c69cbda26c23f67dcf342bf256cbac /src/H5Rpublic.h | |
parent | c1d2006c0fe7b2e565a78f25b649d9b463c557bf (diff) | |
download | hdf5-cd4af9da246ec1d8b993194b9091be4427422d05.zip hdf5-cd4af9da246ec1d8b993194b9091be4427422d05.tar.gz hdf5-cd4af9da246ec1d8b993194b9091be4427422d05.tar.bz2 |
[svn-r766] Checkpointing the reference code.
Diffstat (limited to 'src/H5Rpublic.h')
-rw-r--r-- | src/H5Rpublic.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/src/H5Rpublic.h b/src/H5Rpublic.h index 121a853..4882444 100644 --- a/src/H5Rpublic.h +++ b/src/H5Rpublic.h @@ -33,17 +33,9 @@ typedef enum { /* Reference structure for user's code */ typedef struct { - H5R_type_t type; /* Type of reference information in union */ - unsigned long objno[2]; /* OID of object referenced */ - struct H5F_t *file; /* Pointer to the file the reference is in */ - union { /* union to hold structs */ - struct { - } obj; /* Object reference structure */ - struct { - } dreg; /* Dataset Region reference structure */ - struct { - } intrl; /* Internal reference structure */ - }u; + unsigned long oid[2]; /* OID of object referenced */ + unsigned long region[2]; /* heap ID of region in object */ + unsigned long file[2]; /* heap ID of external filename */ } href_t; /* Publicly visible datastructures */ @@ -55,9 +47,8 @@ extern "C" { /* Functions in H5R.c */ herr_t H5Rcreate(href_t *ref, hid_t loc_id, const char *name, H5R_type_t ref_type, hid_t space_id); -hid_t H5Rdereference(href_t *ref); +hid_t H5Rdereference(hid_t dataset, href_t *ref); hid_t H5Rget_space(href_t *ref); -H5R_type_t H5Rget_type(href_t *ref); #ifdef __cplusplus } |