1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
/*********************************************************************
* Copyright 2018, UCAR/Unidata
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
* $Header: /upc/share/CVS/netcdf-3/nctest/add.h,v 1.6 1996/04/30 17:56:54 davis Exp $
*********************************************************************/
#undef PROTO
#ifndef NO_HAVE_PROTOTYPES
# define PROTO(x) x
#else
# define PROTO(x) ()
#endif
#ifdef __cplusplus
extern "C" {
#endif
/* add a dimension to an in-memory netcdf structure */
extern void add_dim PROTO((
struct netcdf *,
struct cdfdim *
));
/* add a variable var to an in-memory netcdf structure */
extern void add_var PROTO((
struct netcdf *,
struct cdfvar *
));
/* add an attribute att to an in-memory netcdf structure */
extern void add_att PROTO((
struct netcdf *,
int,
struct cdfatt *
));
/* reset in-memory netcdf structure to empty */
extern void add_reset PROTO((
struct netcdf *
));
/* delete an attribute att from an in-memory netcdf structure */
extern void del_att PROTO((
struct netcdf *,
int,
struct cdfatt *
));
/* keep max record written updated */
extern void add_data PROTO((
struct netcdf *,
int,
long [],
long []
));
/* display info about variable, for error messages */
extern void errvar PROTO((
struct netcdf *,
struct cdfvar *
));
#ifdef __cplusplus
}
#endif
|