source: XIOS/trunk/extern/src_netcdf4/nc4dispatch.c @ 1896

Last change on this file since 1896 was 409, checked in by ymipsl, 12 years ago

Add improved nectdf internal library src

YM

  • Property svn:eol-style set to native
File size: 1.9 KB
Line 
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
13NC_Dispatch NC4_dispatcher = {
14
15NC_DISPATCH_NC4,
16
17NC4_new_nc,
18
19NC4_create,
20NC4_open,
21
22NC4_redef,
23NC4__enddef,
24NC4_sync,
25NC4_abort,
26NC4_close,
27NC4_set_fill,
28NC4_inq_base_pe,
29NC4_set_base_pe,
30NC4_inq_format,
31
32NC4_inq,
33NC4_inq_type,
34
35NC4_def_dim,
36NC4_inq_dimid,
37NC4_inq_dim,
38NC4_inq_unlimdim,
39NC4_rename_dim,
40
41NC4_inq_att,
42NC4_inq_attid,
43NC4_inq_attname,
44NC4_rename_att,
45NC4_del_att,
46NC4_get_att,
47NC4_put_att,
48
49NC4_def_var,
50NC4_inq_varid,
51NC4_rename_var,
52NC4_get_vara,
53NC4_put_vara,
54NCDEFAULT_get_vars,
55NCDEFAULT_put_vars,
56NCDEFAULT_get_varm,
57NCDEFAULT_put_varm,
58
59NC4_inq_var_all,
60
61NC4_show_metadata,
62NC4_inq_unlimdims,
63
64NC4_var_par_access,
65
66NC4_inq_ncid,
67NC4_inq_grps,
68NC4_inq_grpname,
69NC4_inq_grpname_full,
70NC4_inq_grp_parent,
71NC4_inq_grp_full_ncid,
72NC4_inq_varids,
73NC4_inq_dimids,
74NC4_inq_typeids,
75NC4_inq_type_equal,
76NC4_def_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_Dispatch* NC4_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}
Note: See TracBrowser for help on using the repository browser.