Commit 9ac7e094 authored by gsell's avatar gsell
Browse files

src/include/h5core/h5_file_attribs.h

src/include/h5core/h5_step_attribs.h
src/include/h5core/h5b_attribs.h:
- use new H5hut enum type for attribute data-types
parent 66452a27
......@@ -23,7 +23,8 @@ h5_has_file_attrib (
h5_err_t
h5_get_file_attrib_info_by_name (
const h5_file_t, const char* const, h5_int64_t* const, h5_size_t*);
const h5_file_t, const char* const,
h5_int64_t* const, h5_size_t* const);
h5_ssize_t
h5_get_num_file_attribs (
......@@ -31,16 +32,18 @@ h5_get_num_file_attribs (
h5_err_t
h5_get_file_attrib_info_by_idx (
const h5_file_t, const h5_size_t, char*, const h5_size_t, h5_int64_t* const,
h5_size_t*);
const h5_file_t, const h5_size_t, char* const, const h5_size_t,
h5_int64_t* const, h5_size_t* const);
h5_err_t
h5_read_file_attrib (
const h5_file_t, const char*, const hid_t, void*);
const h5_file_t, const char* const, const h5_types_t,
void* const);
h5_err_t
h5_write_file_attrib (
const h5_file_t, const char*, const hid_t, const void*, const hsize_t);
const h5_file_t, const char* const, const h5_types_t,
const void* const, const h5_size_t);
#ifdef __cplusplus
}
......
......@@ -23,7 +23,8 @@ h5_has_step_attrib (
h5_err_t
h5_get_step_attrib_info_by_name (
const h5_file_t, const char* const, h5_int64_t*, h5_size_t*);
const h5_file_t, const char* const,
h5_int64_t* const, h5_size_t* const);
h5_ssize_t
h5_get_num_step_attribs (
......@@ -31,16 +32,18 @@ h5_get_num_step_attribs (
h5_err_t
h5_get_step_attrib_info_by_idx (
const h5_file_t, const h5_size_t, char*, const h5_size_t, h5_int64_t*,
h5_size_t*);
const h5_file_t, const h5_size_t, char* const, const h5_size_t,
h5_int64_t* const, h5_size_t* const);
h5_err_t
h5_read_step_attrib (
const h5_file_t, const char*, const hid_t, void*);
const h5_file_t, const char* const, const h5_types_t,
void* const);
h5_err_t
h5_write_step_attrib (
const h5_file_t, const char*, const hid_t, const void*, const hsize_t);
const h5_file_t, const char* const, const h5_types_t,
const void* const, const h5_size_t);
#ifdef __cplusplus
}
......
......@@ -13,9 +13,6 @@
#include "h5core/h5_types.h"
#include <hdf5.h>
/*
:TODO: move macros to private include file
*/
#define H5BLOCK_FIELD_ORIGIN_NAME "__Origin__"
#define H5BLOCK_FIELD_SPACING_NAME "__Spacing__"
#define H5BLOCK_FIELD_XCOORD_NAME "__X_Coordinates__"
......@@ -54,7 +51,7 @@ h5b_get_field_attrib_info_by_name (
h5_err_t
h5b_write_field_attrib (
const h5_file_t,
const char*, const char*, const hid_t, const void*, const h5_int64_t);
const char*, const char*, const h5_int64_t, const void*, const h5_int64_t);
h5_err_t
h5b_read_field_attrib (
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment