File: hdiff_list.h

package info (click to toggle)
libhdf4 4.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 29,892 kB
  • sloc: ansic: 128,688; sh: 14,969; fortran: 12,444; java: 5,864; xml: 1,305; makefile: 900; yacc: 678; pascal: 418; perl: 360; javascript: 203; lex: 163; csh: 41
file content (88 lines) | stat: -rw-r--r-- 4,366 bytes parent folder | download | duplicates (2)
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * 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 HDIFF_LIST_H
#define HDIFF_LIST_H

#ifdef __cplusplus
extern "C" {
#endif

#include "hdiff_table.h"
#include "hdiff_dim.h"

/* get the list of HDF objects in the file */

uint32 hdiff_list(const char *fname, dtable_t *table, diff_dim_table_t *td1, diff_dim_table_t *td2, int *err);

int hdiff_list_vg(const char *fname, int32 file_id, int32 sd_id, /* SD interface identifier */
                  int32             gr_id,                       /* GR interface identifier */
                  dtable_t         *table,                       /* all objects table */
                  diff_dim_table_t *td1,                         /* dimension table 1 */
                  diff_dim_table_t *td2) /* dimension table 2 */;

int hdiff_list_gr(int32 file_id, int32 gr_id, dtable_t *table);

int hdiff_list_sds(int32 file_id, int32 sd_id, /* SD interface identifier */
                   dtable_t         *table,    /* all objects table */
                   diff_dim_table_t *td1,      /* dimension table 1 */
                   diff_dim_table_t *td2) /* dimension table 2 */;

int hdiff_list_vs(int32 file_id, dtable_t *table);
int hdiff_list_glb(int32 sd_id, int32 gr_id);
int hdiff_list_an(int32 file_id);

int insert_vg_attrs(int32 vgroup_id, char *path);
int insert_vg_an(int32 file_id, int32 vgroup_id, char *path);

int insert_vg(const char *fname, int32 file_id, int32 sd_id, /* SD interface identifier */
              int32             gr_id,                       /* GR interface identifier */
              char             *path_name,                   /* absolute path for input group name */
              int32            *in_tags,                     /* tag list for parent group */
              int32            *in_refs,                     /* ref list for parent group */
              int               npairs,                      /* number tag/ref pairs for parent group */
              dtable_t         *table,                       /* all objects table */
              diff_dim_table_t *td1,                         /* dimension table 1 */
              diff_dim_table_t *td2) /* dimension table 2 */;

int insert_sds(int32 file_id, int32 sd_id, int32 tag, /* tag of input SDS */
               int32             ref,                 /* ref of input SDS */
               char             *path_name,           /* absolute path for input group name */
               dtable_t         *table,               /* all objects table */
               diff_dim_table_t *td1,                 /* dimension table 1 */
               diff_dim_table_t *td2) /* dimension table 2 */;

int insert_gr(int32 file_id, int32 gr_in, int32 tag, /* tag of input GR */
              int32     ref,                         /* ref of input GR */
              char     *path_name,                   /* absolute path for input group name */
              dtable_t *table);

int insert_vs(int32 file_id, int32 ref, /* ref of input VS */
              char     *path_name,      /* absolute path for input group name */
              dtable_t *table, int is_lone);

int insert_sds_attrs(int32 sds_id, int32 nattrs);

int insert_gr_attrs(int32 ri_id, int32 nattrs);

int insert_an(int32 file_id, int32 ref_in, int32 tag_in, char *path);

int insert_vs_an(int32 file_id, int32 vdata_id, char *path);

int insert_vs_attrs(int32 in, int32 findex, intn attrindex);

#ifdef __cplusplus
}
#endif

#endif /* HDIFF_LIST_H */