awips2/ncep/gov.noaa.nws.ncep.viz.rsc.ncgrid/dgdriv_c/bridge.h
Steve Harris 8485b90ff8 12.4.1-10 baseline
Former-commit-id: bf53d06834caa780226121334ac1bcf0534c3f16
2012-05-01 18:06:13 -05:00

39 lines
1.2 KiB
C

/************************************************************************
* BRIDGE.H *
* *
* This file contains parameters defined for use in the decoder bridge *
* routines. *
* *
** *
* Log: *
* S. Jacobs/NMC 7/95 *
* A. Hardy/GSC 1/01 Added proto_bridge.h *
* S. Jacobs/NCEP 12/02 Increased DCMXBF from 16kb to 100kb *
***********************************************************************/
#define DCDFTM ( 600 ) /* Default timeout */
#define DCMXLN ( 133 ) /* Max length for a character string */
#define DCMXBF ( 102400 ) /* Max length of the data buffer */
#define EOD ( 0xfe ) /* End of data marker */
/*---------------------------------------------------------------------*/
/* Error list */
#define EBNMEM ( -4 ) /* No memory for malloc */
#define EBREAD ( -5 ) /* Error reading into buffer */
#define EBTMOUT ( -6 ) /* Time out has occurred */
#define EBFULL ( -7 ) /* The buffer is full */
#define EBEMPT ( -8 ) /* The buffer is empty */
#define EBEND ( -9 ) /* End of data input */
/*---------------------------------------------------------------------*/
#include "proto_bridge.h"