NetCDF
4.4.0-rc3
NetCDF Documentation
Navigation
NetCDF Functions
Files
Examples
Source Files
Globals
netcdf_mem.h
1
/* \file netcdf_mem.h
2
* Copyright 2010 University Corporation for Atmospheric
3
* Research/Unidata. See COPYRIGHT file for more info.
4
*
5
* See \ref copyright file for more info.
6
*
7
*/
8
9
#ifndef NETCDF_MEM_H
10
#define NETCDF_MEM_H 1
11
12
#if defined(__cplusplus)
13
extern
"C"
{
14
#endif
15
16
/* Declaration modifiers for DLL support (MSC et al) */
17
#if defined(DLL_NETCDF)
/* define when library is a DLL */
18
# if defined(DLL_EXPORT)
/* define when building the library */
19
# define MSC_EXTRA __declspec(dllexport)
20
# else
21
# define MSC_EXTRA __declspec(dllimport)
22
# endif
23
#include <io.h>
24
#else
25
#define MSC_EXTRA
26
#endif
/* defined(DLL_NETCDF) */
27
28
# define EXTERNL MSC_EXTRA extern
29
75
EXTERNL
int
76
nc_open_mem
(
const
char
* path,
int
mode,
size_t
size,
void
* memory,
int
* ncidp);
77
78
#if defined(__cplusplus)
79
}
80
#endif
81
82
#endif
/* NETCDF_MEM_H */
nc_open_mem
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.
Definition:
dfile.c:719
Return to the Main Unidata NetCDF page.
Generated on Sun Nov 1 2015 19:54:55 for NetCDF. NetCDF is a
Unidata
library.