1/*********************************************************************
2 *   Copyright 1993, UCAR/Unidata
3 *   See netcdf/COPYRIGHT file for copying and redistribution conditions.
4 *   $Header: /upc/share/CVS/netcdf-3/libsrc4/nc4dispatch.c,v 1.5 2010/05/27 02:19:37 dmh Exp $
5 *********************************************************************/
6
7#include "config.h"
8#include <stdlib.h>
9#include "nc.h"
10#include "ncdispatch.h"
11#include "nc4dispatch.h"
12
13static NC_Dispatch NC4_dispatcher = {
14
15NC_FORMATX_NC4,
16
17NC4_create,
18NC4_open,
19
20NC4_redef,
21NC4__enddef,
22NC4_sync,
23NC4_abort,
24NC4_close,
25NC4_set_fill,
26NC4_inq_base_pe,
27NC4_set_base_pe,
28NC4_inq_format,
29NC4_inq_format_extended,
30
31NC4_inq,
32NC4_inq_type,
33
34NC4_def_dim,
35NC4_inq_dimid,
36NC4_inq_dim,
37NC4_inq_unlimdim,
38NC4_rename_dim,
39
40NC4_inq_att,
41NC4_inq_attid,
42NC4_inq_attname,
43NC4_rename_att,
44NC4_del_att,
45NC4_get_att,
46NC4_put_att,
47
48NC4_def_var,
49NC4_inq_varid,
50NC4_rename_var,
51NC4_get_vara,
52NC4_put_vara,
53NCDEFAULT_get_vars,
54NCDEFAULT_put_vars,
55NCDEFAULT_get_varm,
56NCDEFAULT_put_varm,
57
58NC4_inq_var_all,
59
60NC4_var_par_access,
61
62NC4_show_metadata,
63NC4_inq_unlimdims,
64
65NC4_inq_ncid,
66NC4_inq_grps,
67NC4_inq_grpname,
68NC4_inq_grpname_full,
69NC4_inq_grp_parent,
70NC4_inq_grp_full_ncid,
71NC4_inq_varids,
72NC4_inq_dimids,
73NC4_inq_typeids,
74NC4_inq_type_equal,
75NC4_def_grp,
76NC4_rename_grp,
77NC4_inq_user_type,
78NC4_inq_typeid,
79
80NC4_def_compound,
81NC4_insert_compound,
82NC4_insert_array_compound,
83NC4_inq_compound_field,
84NC4_inq_compound_fieldindex,
85NC4_def_vlen,
86NC4_put_vlen_element,
87NC4_get_vlen_element,
88NC4_def_enum,
89NC4_insert_enum,
90NC4_inq_enum_member,
91NC4_inq_enum_ident,
92NC4_def_opaque,
93NC4_def_var_deflate,
94NC4_def_var_fletcher32,
95NC4_def_var_chunking,
96NC4_def_var_fill,
97NC4_def_var_endian,
98NC4_set_var_chunk_cache,
99NC4_get_var_chunk_cache,
100
101};
102
103NC_DispatchNC4_dispatch_table = NULL; /* moved here from ddispatch.c */
104
105int
106NC4_initialize(void)
107{
108    NC4_dispatch_table = &NC4_dispatcher;
109    return NC_NOERR;
110}
111
112int
113NC4_finalize(void)
114{
115    return NC_NOERR;
116}


HyperKWIC - Version 7.20DA executed at 11:37 on 27 Oct 2017 | Polyhedron Solutions - INTERNAL USE | COMMERCIAL (Any O/S) SN 4AKIed