mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
43 lines
1.0 KiB
C
43 lines
1.0 KiB
C
/*********************************************************************
|
|
* Copyright 2018, UCAR/Unidata
|
|
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
|
|
*********************************************************************/
|
|
|
|
#include "dapincludes.h"
|
|
|
|
#ifdef HAVE_GETRLIMIT
|
|
# ifdef HAVE_SYS_RESOURCE_H
|
|
# include <sys/time.h>
|
|
# endif
|
|
# ifdef HAVE_SYS_RESOURCE_H
|
|
# include <sys/resource.h>
|
|
# endif
|
|
#endif
|
|
|
|
#include "oclog.h"
|
|
|
|
#include "nc3internal.h"
|
|
#include "nc3dispatch.h"
|
|
#include "ncd2dispatch.h"
|
|
#include "ncoffsets.h"
|
|
#include "dapdump.h"
|
|
|
|
static NCerror buildncstructures(NCDAPCOMMON*);
|
|
static NCerror builddims(NCDAPCOMMON*);
|
|
static NCerror buildvars(NCDAPCOMMON*);
|
|
static NCerror buildglobalattrs(NCDAPCOMMON*,CDFnode* root);
|
|
|
|
|
|
static char* getdefinename(CDFnode* node);
|
|
|
|
static int ncd2initialized = 0;
|
|
|
|
|
|
/**************************************************/
|
|
/* Add an extra function whose sole purpose is to allow
|
|
configure(.ac) to test for the presence of thiscode.
|
|
*/
|
|
int nc__opendap(void) {return 0;}
|
|
|
|
|