implementation of attachments continued

This commit is contained in:
2011-03-31 15:30:16 +00:00
parent 6661eca765
commit 407bbe4d0c
5 changed files with 168 additions and 384 deletions
+9 -16
View File
@@ -2,12 +2,9 @@
#define __H5_ATTACH_H
h5_err_t
h5_write_attachment (
h5_add_attachment (
h5_file_t* const f,
const char* const name,
const hid_t type,
const char* const content,
const h5_size_t size
const char* const name
);
h5_ssize_t
@@ -19,26 +16,22 @@ h5_err_t
h5_get_attachment_info_by_idx (
h5_file_t* const f,
const h5_size_t idx, // IN
char* const name, // OUT
h5_size_t len_name, // IN
h5_int64_t* const type, // OUT
h5_size_t* const npoints // OUT
char* const fname, // OUT
h5_size_t len_fname, // IN
h5_size_t* const fsize // OUT
);
h5_err_t
h5_get_attachment_info_by_name (
h5_file_t* const f,
const char* const name, // IN
h5_int64_t* const type, // OUT
h5_size_t* const npoints // OUT
const char* const fname, // IN
h5_size_t* const fsize // OUT
);
h5_err_t
h5_read_attachment (
h5_get_attachment (
h5_file_t* const f,
const char* const name,
const hid_t type,
void* const content
const char* const fname
);
h5_err_t
+2
View File
@@ -1,6 +1,8 @@
#ifndef __H5_ERRORHANDLING_H
#define __H5_ERRORHANDLING_H
#include <stdarg.h>
enum h5_rtypes {
e_int = 0,
e_ssize_t,