netcdf-c/include
Dennis Heimbigner 4c92fc3405 Remove netcdf-4 conditional on the dispatch table.
Partially address: https://github.com/Unidata/netcdf-c/issues/1056

Currently, some of the entries in the dispatch table
are conditional'd on USE_NETCDF4.

As a step in upgrading the dispatch table for use
with user-defined tables, we remove that conditional.
This means that all dispatch tables must implement the
netcdf-4 specific functions even if only to make them
return NC_ENOTNC4. To simplify this, a set of default
functions are defined in libdispatch/dnotnc4.c to provide this
behavior. The file libdispatch/dnotnc3.c is also relevant to
this.

The primary fix is to modify the various dispatch tables to
remove the conditional and use the functions in
libdispatch/dnotnc4.c as appropriate. In practice, all of the
existing tables are prepared to handle this, so the only
real change is to remove the conditionals.

Misc. Unrelated fixes
1. Fix some annoying warnings in ncvalidator.

Notes:
1. This has not been tested with either pnetcdf or hdf4 enabled.
   When those are enabled, it is possible that there are still
   some conditionals that need to be fixed.
2019-07-20 13:59:40 -06:00
..
.gitignore
ceconstraints.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
CMakeLists.txt More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
err_macros.h cleanup of whitespace in include directory 2019-02-19 06:09:10 -07:00
fbits.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
hdf4dispatch.h Thread safety: step 1: cleanup 2019-03-30 14:06:20 -06:00
hdf5dispatch.h cleanup of whitespace in include directory 2019-02-19 06:09:10 -07:00
hdf5internal.h Merge branch 'master' into addfilter.dmh 2019-04-30 14:51:25 -06:00
Makefile.am added netcdf_dispatch.h file 2019-07-05 04:50:36 -06:00
nc3dispatch.h Thread safety: step 1: cleanup 2019-03-30 14:06:20 -06:00
nc3internal.h cleanup of whitespace in include directory 2019-02-19 06:10:30 -07:00
nc4dispatch.h Thread safety: step 1: cleanup 2019-03-30 14:06:20 -06:00
nc4internal.h removed unused prototype 2019-07-16 16:02:08 -06:00
nc_hashmap.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
nc_logging.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
nc_provenance.h For some reason, the code for this was incorrect. 2019-04-18 14:23:20 -06:00
nc_tests.h cleanup of whitespace in include directory 2019-02-19 06:10:30 -07:00
nc.h removed refcount from nc.h 2019-07-04 15:46:47 -06:00
ncauth.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
ncbytes.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
ncconfigure.h Fix ncconfigure.h to solve a -ansi problem with strdup() 2019-05-29 14:35:29 -06:00
ncdap.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
ncdimscale.h changes to support build of libsrc4 without libhdf5 2019-05-22 07:50:12 -06:00
ncdispatch.h moved prototypes for NC_RO, NC_NOTNC3, and NC_NOTNC4 functions to netcdf_dispatch.h 2019-07-16 20:34:11 -06:00
ncexternl.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
nchashmap.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
nchttp.h Provide byte-range reading of remote datasets 2019-01-01 18:27:36 -07:00
ncindex.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
nclist.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
nclog.h Thread safety: step 1: cleanup 2019-03-30 14:06:20 -06:00
ncmodel.h Provide byte-range reading of remote datasets 2019-01-01 18:27:36 -07:00
ncoffsets.h Thread safety: step 1: cleanup 2019-03-30 14:06:20 -06:00
ncrc.h Thread safety: step 1: cleanup 2019-03-30 14:06:20 -06:00
nctestserver.h Fix LGTM complaint 2019-02-15 12:40:30 -07:00
nctime.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
ncuri.h Thread safety: step 1: cleanup 2019-03-30 14:06:20 -06:00
ncurlmodel.h Master merge, conflict resolution, cleanup 2019-02-24 16:54:13 -07:00
ncutf8.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
ncwinpath.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
netcdf_aux.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
netcdf_dispatch.h Remove netcdf-4 conditional on the dispatch table. 2019-07-20 13:59:40 -06:00
netcdf_f.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
netcdf_filter.h Allow in-line definition of filters 2019-03-21 11:33:27 -06:00
netcdf_mem.h Restored EXTERNL definition to netcdf_mem.h in support of https://github.com/Unidata/netcdf-c/issues/1148 2019-02-15 17:17:06 -07:00
netcdf_meta.h.in Master merge, conflict resolution, cleanup 2019-02-24 16:54:13 -07:00
netcdf_par.h cleanup of whitespace in include directory 2019-02-19 06:10:30 -07:00
netcdf.h Merge branch 'master' into byterange.dmh 2019-03-19 12:05:44 -06:00
onstack.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
rnd.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
XGetopt.h