summaryrefslogtreecommitdiffstats
path: root/src/H5Aprivate.h
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2006-01-02 19:20:19 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2006-01-02 19:20:19 (GMT)
commit216a6e99047f32a8cdf857f6cf3b195d605549a1 (patch)
tree8f48cea87963afad81a38fd70edb45238848299e /src/H5Aprivate.h
parent63e522aa138db60749a97f0d6896934b8a6d338c (diff)
downloadhdf5-216a6e99047f32a8cdf857f6cf3b195d605549a1.zip
hdf5-216a6e99047f32a8cdf857f6cf3b195d605549a1.tar.gz
hdf5-216a6e99047f32a8cdf857f6cf3b195d605549a1.tar.bz2
[svn-r11850] Purpose:
Feature Description: Added character encoding and attribute creation property lists. Solution: Attributes' character encoding is set via the ACPL. The default is ASCII, with UTF-8 being the other option currently. Platforms tested: heping, mir, sleipnir, copper
Diffstat (limited to 'src/H5Aprivate.h')
-rw-r--r--src/H5Aprivate.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/H5Aprivate.h b/src/H5Aprivate.h
index 9b24490..7adbbe1 100644
--- a/src/H5Aprivate.h
+++ b/src/H5Aprivate.h
@@ -27,6 +27,11 @@
/* Forward references of package typedefs */
typedef struct H5A_t H5A_t;
+/* Attribute creation properties */
+#define H5A_CHAR_ENCODING_NAME "character_encoding"
+#define H5A_CHAR_ENCODING_SIZE sizeof(H5T_cset_t)
+#define H5A_CHAR_ENCODING_DEF H5F_CRT_DEFAULT_CSET
+
/* Library private functions in package */
H5_DLL struct H5O_loc_t *H5A_oloc(H5A_t *attr);
H5_DLL H5G_name_t *H5A_nameof(H5A_t *attr);