netcdf-c/libcdmr/nccrproto.h

28 lines
961 B
C
Raw Normal View History

2011-04-17 04:56:36 +08:00
/*********************************************************************
* Copyright 2010, UCAR/Unidata
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
* $Id$
* $Header$
*********************************************************************/
#ifndef NCCRPROTO_H
#define NCCRPROTO_H
2011-06-11 02:47:26 +08:00
/*Forward*/
struct NClist;
2011-04-17 04:56:36 +08:00
extern int nccr_cvtasterr(ast_err err);
2011-06-11 02:47:26 +08:00
extern int nccr_decodeheadermessage(bytes_t* packet, Header** hdrp);
extern int nccr_walk_Header(Header* node, struct NClist* nodes);
extern int nccr_compute_pathnames(struct NClist* nodes);
extern int nccr_map_dimensions(struct NClist* nodes);
extern void nccr_deref_dimensions(struct NClist* nodes);
extern int nccr_decodedatamessage(bytes_t* buf, Data** datahdrp, size_t* posp);
extern int nccr_decodedatacount(bytes_t* packet, size_t* offsetp, size_t* countp);
extern char* nccr_getname(CRnode* node);
extern DataType nccr_gettype(CRnode* node);
2011-04-17 04:56:36 +08:00
#endif /*NCCRPROTO_H*/