diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-04-25 17:56:56 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-04-25 17:56:56 (GMT) |
commit | d33f7d93a34d22b4f48e001426f78090d859a631 (patch) | |
tree | ee50ab76e9e92bb3ff64df1fa71526595e5af8a3 /src/H5Ppkg.h | |
parent | 112fb8d45cd57dd54d8ede466f168941dcf3c352 (diff) | |
download | hdf5-d33f7d93a34d22b4f48e001426f78090d859a631.zip hdf5-d33f7d93a34d22b4f48e001426f78090d859a631.tar.gz hdf5-d33f7d93a34d22b4f48e001426f78090d859a631.tar.bz2 |
[svn-r5259] Purpose:
Code cleanup
Description:
Previously, the I/O pipeline (pline), external file list (efl) and fill-
value (fill) structs were passed down the raw data function call chain,
even into and/or through functions which didn't use them. Since all three
of these pieces of information are available from the dataset creation
property list, just pass the dataset creation property list down the
function call chain and query for the information needed in a particular
function.
Platforms tested:
FreeBSD 4.5 (sleipnir)
Diffstat (limited to 'src/H5Ppkg.h')
-rw-r--r-- | src/H5Ppkg.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5Ppkg.h b/src/H5Ppkg.h index b97ebb6..a8609f3 100644 --- a/src/H5Ppkg.h +++ b/src/H5Ppkg.h @@ -39,7 +39,7 @@ typedef enum { } H5P_class_mod_t; /* Define structure to hold property information */ -typedef struct H5P_genprop_tag { +typedef struct H5P_genprop_t { /* Values for this property */ unsigned xor_val; /* XOR'ed version of the name, for faster comparisons */ char *name; /* Name of property */ @@ -55,12 +55,12 @@ typedef struct H5P_genprop_tag { H5P_prp_copy_func_t copy; /* Function to call when a property is copied */ H5P_prp_close_func_t close; /* Function to call when a property is closed */ - struct H5P_genprop_tag *next; /* Pointer to the next property in this list */ + struct H5P_genprop_t *next; /* Pointer to the next property in this list */ } H5P_genprop_t; /* Define structure to hold class information */ -struct H5P_genclass_tag { - struct H5P_genclass_tag *parent; /* Pointer to parent class */ +struct H5P_genclass_t { + struct H5P_genclass_t *parent; /* Pointer to parent class */ char *name; /* Name of property list class */ size_t nprops; /* Number of properties in class */ unsigned hashsize; /* Hash table size */ @@ -82,7 +82,7 @@ struct H5P_genclass_tag { }; /* Define structure to hold property list information */ -struct H5P_genplist_tag { +struct H5P_genplist_t { H5P_genclass_t *pclass; /* Pointer to class info */ hid_t plist_id; /* Copy of the property list ID (for use in close callback) */ size_t nprops; /* Number of properties in class */ |