2016-01-15 07:02:00 +08:00
|
|
|
/*! \file netcdf_mem.h
|
|
|
|
*
|
|
|
|
* Main header file for in-memory (diskless) functionality.
|
|
|
|
*
|
2015-05-29 05:29:30 +08:00
|
|
|
* Copyright 2010 University Corporation for Atmospheric
|
|
|
|
* Research/Unidata. See COPYRIGHT file for more info.
|
|
|
|
*
|
|
|
|
* See \ref copyright file for more info.
|
2015-06-05 05:37:52 +08:00
|
|
|
*
|
2015-05-29 05:29:30 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef NETCDF_MEM_H
|
|
|
|
#define NETCDF_MEM_H 1
|
|
|
|
|
2017-03-09 08:01:10 +08:00
|
|
|
#include <netcdf.h>
|
|
|
|
|
2015-05-29 05:29:30 +08:00
|
|
|
#if defined(__cplusplus)
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2016-01-15 07:02:00 +08:00
|
|
|
EXTERNL int nc_open_mem(const char* path, int mode, size_t size, void* memory, int* ncidp);
|
2015-05-29 05:29:30 +08:00
|
|
|
|
|
|
|
#if defined(__cplusplus)
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* NETCDF_MEM_H */
|