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 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
/****************************************************************************
* NCSA HDF *
* Software Development Group *
* National Center for Supercomputing Applications *
* University of Illinois at Urbana-Champaign *
* 605 E. Springfield, Champaign IL 61820 *
* *
* For conditions of distribution and use, see the accompanying *
* hdf/COPYING file. *
* *
****************************************************************************/
#ifndef REPACK_DIM_H_
#define REPACK_DIM_H_
#include "hrepack.h"
/* dimension SDS */
typedef struct dim_name_t {
int32 ref; /* reference */
char dim_name[H4_MAX_NC_NAME]; /* name */
} dim_name_t;
/* table for dim_name_t */
typedef struct dim_table_t {
int size;
int nobjs;
dim_name_t *objs;
} dim_table_t;
#ifdef __cplusplus
extern "C" {
#endif
void dim_table_add(dim_table_t *dim_tbl, int ref, char* name);
void dim_table_init( dim_table_t **tbl );
void dim_table_free( dim_table_t *dim_tbl );
void match_dim(int32 sd_in,
int32 sd_out,
dim_table_t *dt1,
dim_table_t *dt2,
options_t *options);
#ifdef __cplusplus
}
#endif
#endif /* REPACK_DIM_H_ */
|