diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-01-25 16:58:28 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-03-13 10:12:35 (GMT) |
commit | 8d4d2e2e8c10217e56dcfb24dcaff2b3c05b43e3 (patch) | |
tree | a990209e15d0404c372002689994fc62a0f6675d /include/tng_io.h | |
parent | d5e691f359fe36c6b5190857295710de53fcaa89 (diff) |
Add gzip compression and uncompression to master branch.
Diffstat (limited to 'include/tng_io.h')
-rw-r--r-- | include/tng_io.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/tng_io.h b/include/tng_io.h index 1b07529..ea2add5 100644 --- a/include/tng_io.h +++ b/include/tng_io.h @@ -276,7 +276,8 @@ typedef enum {TNG_BIG_ENDIAN_64, /** Compression mode is specified in each data block */ typedef enum {TNG_UNCOMPRESSED, TNG_XTC_COMPRESSION, - TNG_TNG_COMPRESSION} tng_compression; + TNG_TNG_COMPRESSION, + TNG_GZIP_COMPRESSION} tng_compression; /** Non trajectory blocks come before the first frame set block */ typedef enum {TNG_NON_TRAJECTORY_BLOCK, TNG_TRAJECTORY_BLOCK} tng_block_type; @@ -396,7 +397,7 @@ tng_function_status tng_trajectory_destroy(tng_trajectory_t *tng_data_p); * @brief Copy a trajectory data container (dest is setup as well). * @details This initialises dest and copies only what is absolute necessary for * parallel i/o. This can be used inside pragma omp for setting up a thread - * local copy of src. It can be freed (using tng_trajectory_destroy at the + * local copy of src. It can be freed (using tng_trajectory_destroy) at the * end of the parallel block. * @param src the original trajectory. * @param dest_p a pointer to memory to initialise as a trajectory. |