summaryrefslogtreecommitdiffstats
path: root/src/H5Cprivate.h
blob: 675fba6a3d9c12aefa0aedab9494cb55ce3777bf (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
50
51
52
/****************************************************************************
 * 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 H5C module
 */

#ifndef _H5Cprivate_H
#define _H5Cprivate_H
#include <H5Cpublic.h>

/* Private headers needed by this file */
#include <H5private.h>
#include <H5Fprivate.h>

/*
 * Default file-creation template values.
 */
#define H5C_USERBLOCK_DEFAULT  0       /* Default user blocks size in bytes */
#define H5C_OFFSETSIZE_DEFAULT 4       /* Default file offset size in bytes */
#define H5C_LENGTHSIZE_DEFAULT 4       /* Default file length size in bytes */
#define H5C_SYM_LEAF_K_DEFAULT	4	/* Default K for tab leaf nodes      */
	 
#define H5C_BTREE_K_DEFAULT	{					      \
   16,					/* Symbol table internal nodes	*/    \
    0,					/* unused			*/    \
    0,					/* unused			*/    \
    0,					/* unused			*/    \
    0,					/* unused			*/    \
    0,					/* unused			*/    \
    0,					/* unused			*/    \
    0					/* unused			*/    \
}

hid_t H5C_create(hid_t owner_id, hobjtype_t type, const char *name);
hid_t H5C_copy(hid_t tid);
herr_t H5C_release(hid_t oid);
hid_t H5C_get_default_atom(hobjtype_t type);
herr_t H5C_init(hid_t dst_atm, const file_create_temp_t *src);

#endif