/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright by The HDF Group. * * Copyright by the Board of Trustees of the University of Illinois. * * All rights reserved. * * * * This file is part of HDF. The full HDF copyright notice, including * * terms governing use, modification, and redistribution, is contained in * * the files COPYING and Copyright.html. COPYING can be found at the root * * of the source code distribution tree; Copyright.html can be found at * * http://hdfgroup.org/products/hdf4/doc/Copyright.html. If you do not have * * access to either file, you may request a copy from help@hdfgroup.org. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* $Id: vg.h 4932 2007-09-07 17:17:23Z bmribler $ */ /***************************************************************************** * * vg.h * * Part of HDF VSet interface * * defines symbols and structures used in all v*.c files * * NOTES: * This include file depends on the basic HDF *.h files hdfi.h and hdf.h. * An 'S' in the comment means that that data field is saved in the HDF file. * ******************************************************************************/ #ifndef _VG_H #define _VG_H /* -------------- H D F V S E T tags ---------------------------- */ /* In what versions were these valid? */ #define OLD_VGDESCTAG 61820 /* tag for a vgroup d */ #define OLD_VSDESCTAG 61821 /* tag for a vdata descriptor */ #define OLD_VSDATATAG 61822 /* tag for actual raw data of a vdata */ /* re-define what new ones are. Don't know why there are two sets but made them conform to what was in 'htags.h' */ #define NEW_VGDESCTAG DFTAG_VG #define NEW_VSDESCTAG DFTAG_VH #define NEW_VSDATATAG DFTAG_VS #define VGDESCTAG NEW_VGDESCTAG #define VSDESCTAG NEW_VSDESCTAG #define VSDATATAG NEW_VSDATATAG #define _HDF_VSPACK 0 #define _HDF_VSUNPACK 1 #define VG_ATTR_SET 0x00000001 /* this vgroup has attribute(s) */ #define VS_ATTR_SET 0x00000001 /* this vdata has attribute(s) */ #define _HDF_VDATA -1 /* used in vdata attr interface findex to represent the entire vdata */ #define _HDF_ENTIRE_VDATA _HDF_VDATA /* if users have already used _HDF_ENTIRE_VDATA since 4.1b1 was out */ /* Size of the atom hash table */ #define VATOM_HASH_SIZE 256 /* .................................................................. */ #define VSET_NEW_VERSION 4 /* if attr or other new features are set */ #define VSET_VERSION 3 /* DO NOT CHANGE!! */ #define VSET_OLD_VERSION 2 /* All version <= 2 use old type mappings */ #define VSET_OLD_TYPES VSET_OLD_VERSION /* For backward compatibility */ /* Only include the library header if the VSET_INTERFACE macro is defined */ #ifdef VSET_INTERFACE #include "vgint.h" /* Library VSet information header */ #endif /* VSET_INTERFACE */ #endif /* _VG_H */