summaryrefslogtreecommitdiffstats
path: root/src/H5Lprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-11-02 04:54:19 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-11-02 04:54:19 (GMT)
commit19c9657f7c4029df52a804c7ed8b4d3b30cc6196 (patch)
tree6601816880f90040ae67df5bd27558c0f0670e86 /src/H5Lprivate.h
parent0f84d2fb15813c10fca48f95772626c34039619d (diff)
downloadhdf5-19c9657f7c4029df52a804c7ed8b4d3b30cc6196.zip
hdf5-19c9657f7c4029df52a804c7ed8b4d3b30cc6196.tar.gz
hdf5-19c9657f7c4029df52a804c7ed8b4d3b30cc6196.tar.bz2
[svn-r12842] Description:
Refactor generic property list initialization code to put property list specific routines in property list modules, instead of scattered to the four winds. Also, introduce property list class initialization objects, to make adding new property list classes in the library easier. Fix daily test failure by using H5Pget_elink_prefix() API routine instead of looking at the "raw" generic property list information. Tested on: Mac OS X/32 10.4.8 (amazon) FreeBSD/32 4.11 (sleipnir) w/threadsafe Linux/32 2.4 (heping) w/C++ & FORTRAN Linux/64 2.4 (mir) w/build-all & 1.6 compat
Diffstat (limited to 'src/H5Lprivate.h')
-rw-r--r--src/H5Lprivate.h22
1 files changed, 9 insertions, 13 deletions
diff --git a/src/H5Lprivate.h b/src/H5Lprivate.h
index 4f152ae..1816e7d 100644
--- a/src/H5Lprivate.h
+++ b/src/H5Lprivate.h
@@ -26,19 +26,15 @@
#include "H5Gprivate.h"
#include "H5Oprivate.h"
-/* Definitions for creating intermediate groups */
-#define H5L_CRT_INTERMEDIATE_GROUP_NAME "intermediate_group"
-#define H5L_CRT_INTERMEDIATE_GROUP_SIZE sizeof(unsigned)
-#define H5L_CRT_INTERMEDIATE_GROUP_DEF 0
-
-/* Definitions for accessing links */
-#define H5L_NLINKS_NAME "max soft links"
-#define H5L_NLINKS_SIZE sizeof(size_t)
-#define H5L_NLINKS_DEF 16 /*max symlinks to follow per lookup */
-
-#define H5L_ELINK_PREFIX_NAME "external link prefix"
-#define H5L_ELINK_PREFIX_SIZE sizeof(char *)
-#define H5L_ELINK_PREFIX_DEF NULL /*default is no prefix */
+/* Default number of soft links to traverse */
+#define H5L_NUM_LINKS 16
+
+/* ======== Link creation property names ======== */
+#define H5L_CRT_INTERMEDIATE_GROUP_NAME "intermediate_group" /* Create intermediate groups flag */
+
+/* ======== Link access property names ======== */
+#define H5L_ACS_NLINKS_NAME "max soft links" /* Number of soft links to traverse */
+#define H5L_ACS_ELINK_PREFIX_NAME "external link prefix" /* External link prefix */
/* General operations on links */
H5_DLL herr_t H5L_link(H5G_loc_t *new_loc, const char *new_name,