Last change
on this file since 1119 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
|
Rev | Line | |
---|
[409] | 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 | |
---|
| 13 | NC_Dispatch NC4_dispatcher = { |
---|
| 14 | |
---|
| 15 | NC_DISPATCH_NC4, |
---|
| 16 | |
---|
| 17 | NC4_new_nc, |
---|
| 18 | |
---|
| 19 | NC4_create, |
---|
| 20 | NC4_open, |
---|
| 21 | |
---|
| 22 | NC4_redef, |
---|
| 23 | NC4__enddef, |
---|
| 24 | NC4_sync, |
---|
| 25 | NC4_abort, |
---|
| 26 | NC4_close, |
---|
| 27 | NC4_set_fill, |
---|
| 28 | NC4_inq_base_pe, |
---|
| 29 | NC4_set_base_pe, |
---|
| 30 | NC4_inq_format, |
---|
| 31 | |
---|
| 32 | NC4_inq, |
---|
| 33 | NC4_inq_type, |
---|
| 34 | |
---|
| 35 | NC4_def_dim, |
---|
| 36 | NC4_inq_dimid, |
---|
| 37 | NC4_inq_dim, |
---|
| 38 | NC4_inq_unlimdim, |
---|
| 39 | NC4_rename_dim, |
---|
| 40 | |
---|
| 41 | NC4_inq_att, |
---|
| 42 | NC4_inq_attid, |
---|
| 43 | NC4_inq_attname, |
---|
| 44 | NC4_rename_att, |
---|
| 45 | NC4_del_att, |
---|
| 46 | NC4_get_att, |
---|
| 47 | NC4_put_att, |
---|
| 48 | |
---|
| 49 | NC4_def_var, |
---|
| 50 | NC4_inq_varid, |
---|
| 51 | NC4_rename_var, |
---|
| 52 | NC4_get_vara, |
---|
| 53 | NC4_put_vara, |
---|
| 54 | NCDEFAULT_get_vars, |
---|
| 55 | NCDEFAULT_put_vars, |
---|
| 56 | NCDEFAULT_get_varm, |
---|
| 57 | NCDEFAULT_put_varm, |
---|
| 58 | |
---|
| 59 | NC4_inq_var_all, |
---|
| 60 | |
---|
| 61 | NC4_show_metadata, |
---|
| 62 | NC4_inq_unlimdims, |
---|
| 63 | |
---|
| 64 | NC4_var_par_access, |
---|
| 65 | |
---|
| 66 | NC4_inq_ncid, |
---|
| 67 | NC4_inq_grps, |
---|
| 68 | NC4_inq_grpname, |
---|
| 69 | NC4_inq_grpname_full, |
---|
| 70 | NC4_inq_grp_parent, |
---|
| 71 | NC4_inq_grp_full_ncid, |
---|
| 72 | NC4_inq_varids, |
---|
| 73 | NC4_inq_dimids, |
---|
| 74 | NC4_inq_typeids, |
---|
| 75 | NC4_inq_type_equal, |
---|
| 76 | NC4_def_grp, |
---|
| 77 | NC4_inq_user_type, |
---|
| 78 | NC4_inq_typeid, |
---|
| 79 | |
---|
| 80 | NC4_def_compound, |
---|
| 81 | NC4_insert_compound, |
---|
| 82 | NC4_insert_array_compound, |
---|
| 83 | NC4_inq_compound_field, |
---|
| 84 | NC4_inq_compound_fieldindex, |
---|
| 85 | NC4_def_vlen, |
---|
| 86 | NC4_put_vlen_element, |
---|
| 87 | NC4_get_vlen_element, |
---|
| 88 | NC4_def_enum, |
---|
| 89 | NC4_insert_enum, |
---|
| 90 | NC4_inq_enum_member, |
---|
| 91 | NC4_inq_enum_ident, |
---|
| 92 | NC4_def_opaque, |
---|
| 93 | NC4_def_var_deflate, |
---|
| 94 | NC4_def_var_fletcher32, |
---|
| 95 | NC4_def_var_chunking, |
---|
| 96 | NC4_def_var_fill, |
---|
| 97 | NC4_def_var_endian, |
---|
| 98 | NC4_set_var_chunk_cache, |
---|
| 99 | NC4_get_var_chunk_cache, |
---|
| 100 | |
---|
| 101 | }; |
---|
| 102 | |
---|
| 103 | NC_Dispatch* NC4_dispatch_table = NULL; /* moved here from ddispatch.c */ |
---|
| 104 | |
---|
| 105 | int |
---|
| 106 | NC4_initialize(void) |
---|
| 107 | { |
---|
| 108 | NC4_dispatch_table = &NC4_dispatcher; |
---|
| 109 | return NC_NOERR; |
---|
| 110 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.