1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* *
* This file is part of HDF. The full HDF copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF/releases/. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#ifndef HREPACK_PARSE_H
#define HREPACK_PARSE_H
#include "hdf.h"
#include "mfhdf.h"
#include "hrepack.h"
#ifdef __cplusplus
extern "C" {
#endif
int parse_number(char *str);
/* compression */
obj_list_t *parse_comp(const char *str, int *n_objs, comp_info_t *comp);
const char *get_scomp(comp_coder_t code);
/* chunking */
obj_list_t *parse_chunk(const char *str, int *n_objs, int32 *chunk_lengths, int *chunk_rank);
#ifdef __cplusplus
}
#endif
#endif /* HREPACK_PARSE_H */
|