BioHDF version 0.3 alpha
Scalable NGS Data Storage Based on HDF5
Typedefs | Functions
biohdf_file

BioHDF file manipulation functions and data structures. More...

Typedefs

typedef struct _biohdf_file * biohdf_file
 A BioHDF file handle.

Functions

BIOHDF_API biohdf_error BIOHDFcreate_biohdf_file (const char *filename, biohdf_file *f)
 Create a BioHDF file.
BIOHDF_API biohdf_error BIOHDFopen_biohdf_file (const char *filename, biohdf_open_mode mode, biohdf_file *f)
 Open a BioHDF file.
BIOHDF_API biohdf_error BIOHDFclose_biohdf_file (biohdf_file *f)
 Close a BioHDF file.

Detailed Description

BioHDF file manipulation functions and data structures.


Typedef Documentation

typedef struct _biohdf_file* biohdf_file

A BioHDF file handle.


Function Documentation

BIOHDF_API biohdf_error BIOHDFclose_biohdf_file ( biohdf_file f)

Close a BioHDF file.

This function will set the file handle to NULL after freeing it.

Parameters:
[in,out]fA BioHDF file handle This will be set to NULL.
Returns:
BIOHDF_NO_ERROR on success, a BioHDF error code on failure.

CHECK*PARAMETERS

CODE

SUCCESS

FAILURE

BIOHDF_API biohdf_error BIOHDFcreate_biohdf_file ( const char *  filename,
biohdf_file f 
)

Create a BioHDF file.

The file handle returned by this function will be ready to accept I/O.

Parameters:
filenameThe name of the BioHDF file to create.
[out]fA BioHDF file handle.
Returns:
BIOHDF_NO_ERROR on success, a BioHDF error code on failure.

CHECK*PARAMETERS

CODE

SUCCESS

FAILURE

BIOHDF_API biohdf_error BIOHDFopen_biohdf_file ( const char *  filename,
biohdf_open_mode  mode,
biohdf_file f 
)

Open a BioHDF file.

Parameters:
filenameThe name of the BioHDF file to open.
modeThe file access mode (read only | read/write).
[out]fA BioHDF file handle.
Returns:
BIOHDF_NO_ERROR on success, a BioHDF error code on failure.

CHECK*PARAMETERS

CODE

SUCCESS

FAILURE

 All Data Structures Variables