diff --git a/include/netcdf_dispatch.h b/include/netcdf_dispatch.h index a1a7792ae..6f0788516 100644 --- a/include/netcdf_dispatch.h +++ b/include/netcdf_dispatch.h @@ -230,6 +230,17 @@ extern "C" { */ EXTERNL int NC_NOOP_filter_actions(int, int, int, struct NC_Filterobject*); + /* These functions are for dispatch layers that don't want to + * implement the deprecated varm functions. They return + * NC_ENOTNC3. */ + EXTERNL int NC_NOTNC3_get_varm(int ncid, int varid, const size_t *start, + const size_t *edges, const ptrdiff_t *stride, + const ptrdiff_t *imapp, void *value0, nc_type memtype); + EXTERNL int NC_NOTNC3_put_varm(int ncid, int varid, const size_t * start, + const size_t *edges, const ptrdiff_t *stride, + const ptrdiff_t *imapp, const void *value0, + nc_type memtype); + #if defined(__cplusplus) } #endif diff --git a/libdispatch/Makefile.am b/libdispatch/Makefile.am index e1d5ec831..fa2c11a55 100644 --- a/libdispatch/Makefile.am +++ b/libdispatch/Makefile.am @@ -18,9 +18,9 @@ libdispatch_la_CPPFLAGS = ${AM_CPPFLAGS} libdispatch_la_SOURCES = dparallel.c dcopy.c dfile.c ddim.c datt.c \ dattinq.c dattput.c dattget.c derror.c dvar.c dvarget.c dvarput.c \ dvarinq.c dinternal.c ddispatch.c dutf8.c nclog.c dstring.c ncuri.c \ -nclist.c ncbytes.c nchashmap.c nctime.c nc.c nclistmgr.c \ -dauth.c doffsets.c dwinpath.c dutil.c dreadonly.c dnotnc4.c \ -crc32.c crc32.h daux.c dinfermodel.c +nclist.c ncbytes.c nchashmap.c nctime.c nc.c nclistmgr.c dauth.c \ +doffsets.c dwinpath.c dutil.c dreadonly.c dnotnc4.c dnotnc3.c crc32.c \ +crc32.h daux.c dinfermodel.c # Add the utf8 codebase libdispatch_la_SOURCES += utf8proc.c utf8proc.h