diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-01-07 06:45:09 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-01-07 06:49:33 (GMT) |
commit | 94329234c518c4e703bc72e67a6f414e0967b0ab (patch) | |
tree | dec8e8c3a31b9028672caa3594114f29a209664d /src/lib/tng_io.h | |
parent | 9b5c558b696aa9fe7d285803de5a4a0245ffc0cb (diff) |
Removed input and output file positions from tng_trajectory struct.
Diffstat (limited to 'src/lib/tng_io.h')
-rw-r--r-- | src/lib/tng_io.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/lib/tng_io.h b/src/lib/tng_io.h index 5b818d4..9bc1b1c 100644 --- a/src/lib/tng_io.h +++ b/src/lib/tng_io.h @@ -517,36 +517,6 @@ tng_function_status tng_long_stride_length_set_(tng_trajectory_t tng_data, } /** - * @brief Get the reading position of the input file. - * @param tng_data is the trajectory from which to get the position. - * @param pos is pointing to a value set to the reading position. - * @return TNG_SUCCESS (0) if successful, TNG_FAILURE (1) if a minor error - * has occurred or TNG_CRITICAL (2) if a major error has occured. - */ -tng_function_status tng_input_file_pos_get(const tng_trajectory_t tng_data, - int64_t *pos); -tng_function_status tng_input_file_pos_get_(const tng_trajectory_t tng_data, - int64_t *pos) -{ - return(tng_input_file_pos_get(tng_data, pos)); -} - -/** - * @brief Get the writing position of the output file. - * @param tng_data is the trajectory from which to get the position. - * @param pos is pointing to a value set to the writing position. - * @return TNG_SUCCESS (0) if successful, TNG_FAILURE (1) if a minor error - * has occurred or TNG_CRITICAL (2) if a major error has occured. - */ -tng_function_status tng_output_file_pos_get(const tng_trajectory_t tng_data, - int64_t *pos); -tng_function_status tng_output_file_pos_get_(const tng_trajectory_t tng_data, - int64_t *pos) -{ - return(tng_output_file_pos_get(tng_data, pos)); -} - -/** * @brief Get the length of the input file. * @param tng_data is the trajectory from which to get the input file length. * @param len is pointing to a value set to the file length. |