20 #define NETCDF_MEM_H 1
26 #define NC_MEMIO_LOCKED 1
29 #if defined(__cplusplus)
34 EXTERNL int nc_open_mem(
const char* path,
int mode,
size_t size,
void* memory,
int* ncidp);
46 #if defined(__cplusplus)
EXTERNL int nc_close_memio(int ncid, NC_memio *info)
Do a normal close (see nc_close()) on an in-memory dataset, then return a copy of the final memory co...
EXTERNL int nc_create_mem(const char *path, int mode, size_t initialsize, int *ncidp)
Create a netCDF file with the contents stored in memory.
EXTERNL int nc_open_mem(const char *path, int mode, size_t size, void *memory, int *ncidp)
Open a netCDF file with the contents taken from a block of memory.
EXTERNL int nc_open_memio(const char *path, int mode, NC_memio *info, int *ncidp)
Open a netCDF file with the contents taken from a block of memory.
#define EXTERNL
Needed for DLL build.