h5_file_attribs.h 1.13 KB
Newer Older
1
/*
gsell's avatar
gsell committed
2
  Copyright (c) 2006-2016, The Regents of the University of California,
3 4 5 6 7 8 9
  through Lawrence Berkeley National Laboratory (subject to receipt of any
  required approvals from the U.S. Dept. of Energy) and the Paul Scherrer
  Institut (Switzerland).  All rights reserved.

  License: see file COPYING in top level of source distribution.
*/

gsell's avatar
gsell committed
10 11
#ifndef __H5CORE_H5_FILE_ATTRIBS_H
#define __H5CORE_H5_FILE_ATTRIBS_H
12 13

#include "h5core/h5_types.h"
gsell's avatar
gsell committed
14
#include <hdf5.h>
15 16 17 18

#ifdef __cplusplus
extern "C" {
#endif
19
	
20
h5_err_t
21 22
h5_has_file_attrib (
	const h5_file_t, const char* const);
23 24

h5_err_t
25
h5_get_file_attrib_info_by_name (
gsell's avatar
gsell committed
26 27
	const h5_file_t, const char* const,
	h5_int64_t* const, h5_size_t* const);
28

29 30 31 32
h5_ssize_t
h5_get_num_file_attribs (
	const h5_file_t);

33 34
h5_err_t
h5_get_file_attrib_info_by_idx (
gsell's avatar
gsell committed
35 36
	const h5_file_t, const h5_size_t, char* const, const h5_size_t,
	h5_int64_t* const, h5_size_t* const);
37

38 39
h5_err_t
h5_read_file_attrib (
gsell's avatar
gsell committed
40 41
	const h5_file_t, const char* const, const h5_types_t,
	void* const);
42

43 44
h5_err_t
h5_write_file_attrib (
gsell's avatar
gsell committed
45 46
	const h5_file_t, const char* const, const h5_types_t,
	const void* const, const h5_size_t);
47

48 49 50 51 52
#ifdef __cplusplus
}
#endif

#endif