summaryrefslogtreecommitdiffstats
path: root/src/H5Rpublic.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-10-22 22:49:16 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-10-22 22:49:16 (GMT)
commit671ed571239ccad6c86918dfe04580c73d1b130e (patch)
treef22698c958e5a4d497e1c7dfb69d1518915c9d2f /src/H5Rpublic.h
parentf571a762fd5894f551c1f906641af229d839c6a9 (diff)
downloadhdf5-671ed571239ccad6c86918dfe04580c73d1b130e.zip
hdf5-671ed571239ccad6c86918dfe04580c73d1b130e.tar.gz
hdf5-671ed571239ccad6c86918dfe04580c73d1b130e.tar.bz2
[svn-r776] Fixed references, object references should be working now.
Diffstat (limited to 'src/H5Rpublic.h')
-rw-r--r--src/H5Rpublic.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/H5Rpublic.h b/src/H5Rpublic.h
index 4882444..ebb7771 100644
--- a/src/H5Rpublic.h
+++ b/src/H5Rpublic.h
@@ -31,12 +31,19 @@ typedef enum {
H5R_MAXTYPE /* highest type in group (Invalid as true type)*/
} H5R_type_t;
-/* Reference structure for user's code */
+#ifdef LATER
+/* Generic reference structure for user's code */
typedef struct {
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;
+#endif /* LATER */
+
+/* Object reference structure for user's code */
+typedef struct {
+ unsigned long oid[2]; /* OID of object referenced */
+} hobj_ref_t;
/* Publicly visible datastructures */
@@ -45,10 +52,10 @@ extern "C" {
#endif
/* Functions in H5R.c */
-herr_t H5Rcreate(href_t *ref, hid_t loc_id, const char *name,
+herr_t H5Rcreate(void *ref, hid_t loc_id, const char *name,
H5R_type_t ref_type, hid_t space_id);
-hid_t H5Rdereference(hid_t dataset, href_t *ref);
-hid_t H5Rget_space(href_t *ref);
+hid_t H5Rdereference(hid_t dataset, H5R_type_t ref_type, void *ref);
+hid_t H5Rget_space(void *ref);
#ifdef __cplusplus
}