File: hdf5dispatch.h

package info (click to toggle)
netcdf-parallel 1%3A4.7.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 105,352 kB
  • sloc: ansic: 229,114; sh: 11,180; yacc: 2,561; makefile: 1,390; lex: 1,173; xml: 173; awk: 2
file content (60 lines) | stat: -rw-r--r-- 1,809 bytes parent folder | download | duplicates (3)
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
/* Copyright 2018-2018 University Corporation for Atmospheric
   Research/Unidata. */
/**
 * @file
 * @internal Includes prototypes for libhdf5 dispatch functions.
 *
 * @author Ed Hartnett
 */

#ifndef _HDF5DISPATCH_H
#define _HDF5DISPATCH_H

#include "config.h"
#include <stddef.h> /* size_t, ptrdiff_t */
#include "ncdispatch.h"

#if defined(__cplusplus)
extern "C" {
#endif

    EXTERNL int
    NC4_HDF5_inq_att(int ncid, int varid, const char *name,
                     nc_type *xtypep, size_t *lenp);

    EXTERNL int
    NC4_HDF5_inq_attid(int ncid, int varid, const char *name, int *idp);

    EXTERNL int
    NC4_HDF5_inq_attname(int ncid, int varid, int attnum, char *name);

    EXTERNL int
    NC4_HDF5_rename_att(int ncid, int varid, const char *name, const char *newname);

    EXTERNL int
    NC4_HDF5_del_att(int ncid, int varid, const char*);

    EXTERNL int
    NC4_HDF5_put_att(int ncid, int varid, const char *name, nc_type datatype,
                     size_t len, const void *value, nc_type);

    EXTERNL int
    NC4_HDF5_get_att(int ncid, int varid, const char *name, void *value, nc_type);

    EXTERNL int
    NC4_HDF5_inq_var_all(int ncid, int varid, char *name, nc_type *xtypep,
                         int *ndimsp, int *dimidsp, int *nattsp,
                         int *shufflep, int *deflatep, int *deflate_levelp,
                         int *fletcher32p, int *contiguousp, size_t *chunksizesp,
                         int *no_fill, void *fill_valuep, int *endiannessp,
                         unsigned int *idp, size_t *nparamsp, unsigned int *params);

    EXTERNL int
    NC4_HDF5_set_var_chunk_cache(int ncid, int varid, size_t size, size_t nelems,
                                 float preemption);

#if defined(__cplusplus)
}
#endif

#endif /*_HDF5DISPATCH_H */