mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
7b91248723
o Changed variable names 'typeid' to 'typeid1' to avoid a namespace conflict in visual studio. o Cleaned up a handful of warnings in Visual Studio. o Addressed a few Coverity-discovered issuesl o Made changes to CMake-based builds.
64 lines
1.6 KiB
C
64 lines
1.6 KiB
C
/*
|
|
* Copyright 1993-2011 University Corporation for Atmospheric Research/Unidata
|
|
*
|
|
* This header contains prototypes for functions only called by fortran 77.
|
|
*/
|
|
#ifndef _NETCDF_F_
|
|
#define _NETCDF_F_
|
|
|
|
#include <netcdf.h>
|
|
|
|
#if defined(__cplusplus)
|
|
extern "C" {
|
|
#endif
|
|
|
|
EXTERNL int
|
|
nc_inq_var_chunking_ints(int ncid, int varid, int *contiguousp, int *chunksizesp);
|
|
|
|
EXTERNL int
|
|
nc_def_var_chunking_ints(int ncid, int varid, int contiguous, int *chunksizesp);
|
|
|
|
EXTERNL int
|
|
nc_open_par_fortran(const char *path, int mode, int comm,
|
|
int info, int *ncidp);
|
|
|
|
EXTERNL int
|
|
nc_create_par_fortran(const char *path, int cmode, int comm,
|
|
int info, int *ncidp);
|
|
|
|
EXTERNL int
|
|
nc_set_chunk_cache_ints(int size, int nelems, int preemption);
|
|
|
|
EXTERNL int
|
|
nc_get_chunk_cache_ints(int *sizep, int *nelemsp, int *preemptionp);
|
|
|
|
EXTERNL int
|
|
nc_set_var_chunk_cache_ints(int ncid, int varid, int size, int nelems,
|
|
int preemption);
|
|
EXTERNL int
|
|
nc_get_var_chunk_cache_ints(int ncid, int varid, int *sizep,
|
|
int *nelemsp, int *preemptionp);
|
|
|
|
/* Prototypes for some extra functions in fort-lib.c. */
|
|
EXTERNL int
|
|
nc_inq_varids_f(int ncid, int *nvars, int *fvarids);
|
|
|
|
EXTERNL int
|
|
nc_inq_dimids_f(int ncid, int *ndims, int *fdimids, int parent);
|
|
|
|
EXTERNL int
|
|
nc_insert_array_compound_f(int ncid, int typeid1, char *name,
|
|
size_t offset, nc_type field_typeid,
|
|
int ndims, int *dim_sizesp);
|
|
|
|
EXTERNL int
|
|
nc_inq_compound_field_f(int ncid, nc_type xtype, int fieldid, char *name,
|
|
size_t *offsetp, nc_type *field_typeidp, int *ndimsp,
|
|
int *dim_sizesp);
|
|
|
|
#if defined(__cplusplus)
|
|
}
|
|
#endif
|
|
|
|
#endif
|