summaryrefslogtreecommitdiffstats
path: root/src/H5Tprivate.h
blob: 97528dc9910ed83f6b39123f17134b56e4419fd0 (plain)
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
/****************************************************************************
 * 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.                                                        *
 *                                                                          *
 ****************************************************************************/

/* $Id$ */

/*
 * This file contains private information about the H5T module
 */

#ifndef _H5Tprivate_H
#define _H5Tprivate_H
#include <H5Tpublic.h>

/* Private headers needed by this file */
#include <H5private.h>
#include <H5Gprivate.h>         /*for H5G_entry_t                 */

#define H5T_RESERVED_ATOMS  8

typedef struct H5T_t H5T_t;

herr_t                  H5T_init(void);

/* Private functions */
herr_t                  H5T_init_interface(void);
H5T_t                  *H5T_create(H5T_class_t type, size_t size);
H5T_t                  *H5T_copy(const H5T_t *old_dt);
herr_t                  H5T_close(H5T_t *dt);
size_t                  H5T_get_size(const H5T_t *dt);
intn                    H5T_cmp(const H5T_t *dt1, const H5T_t *dt2);
hbool_t                 H5T_is_atomic(const H5T_t *dt);

herr_t                  H5T_insert(H5T_t *parent, const char *name, off_t offset,
                                   const H5T_t *member);
herr_t                  H5T_sort_by_offset(H5T_t *dt);
herr_t                  H5T_pack(H5T_t *dt);
herr_t                  H5T_debug(H5T_t *dt, FILE * stream);
H5T_conv_t              H5T_find(const H5T_t *src, const H5T_t *dst);

#endif