summaryrefslogtreecommitdiffstats
path: root/src/H5Tpublic.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-06-14 21:18:32 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-06-14 21:18:32 (GMT)
commit7e7dd03a329f692507203f6cda87fe6f67b86ac7 (patch)
treec928635641c06760ceb52d9dbdfd3acd62d00130 /src/H5Tpublic.h
parent162b19cd6c1f6c6b14254c60b83bd14b1c11184c (diff)
downloadhdf5-7e7dd03a329f692507203f6cda87fe6f67b86ac7.zip
hdf5-7e7dd03a329f692507203f6cda87fe6f67b86ac7.tar.gz
hdf5-7e7dd03a329f692507203f6cda87fe6f67b86ac7.tar.bz2
[svn-r10920] Purpose:
Bug fix Description: Add check for opaque tags that are too long for file format to handle currently. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5commmitest
Diffstat (limited to 'src/H5Tpublic.h')
-rw-r--r--src/H5Tpublic.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5Tpublic.h b/src/H5Tpublic.h
index 8fe400a..a6feb73 100644
--- a/src/H5Tpublic.h
+++ b/src/H5Tpublic.h
@@ -195,6 +195,10 @@ typedef struct {
/* Variable Length String information */
#define H5T_VARIABLE ((size_t)(-1)) /* Indicate that a string is variable length (null-terminated in C, instead of fixed length) */
+/* Opaque information */
+#define H5T_OPAQUE_TAG_MAX 256 /* Maximum length of an opaque tag */
+ /* This could be raised without too much difficulty */
+
#ifdef __cplusplus
extern "C" {
#endif