/*********************************************************************

** This library uses the netcdf - version 3.4 which is
** Copyright 1993-1997 University Corporation for Atmospheric Research/Unidata

** The netcdf library is provided as per the terms of the
** UCAR/Unidata license.

** See interface/netcdf-3.4/copyright.html for the full notice.

********************************************************************/

/* $Id: diskio_defs.h,v 1.1.1.1 2005/06/14 04:38:29 svitak Exp $ */
/*
 * $Log: diskio_defs.h,v $
 * Revision 1.1.1.1  2005/06/14 04:38:29  svitak
 * Import from snapshot of CalTech CVS tree of June 8, 2005
 *
 * Revision 1.6  2000/06/12 04:37:19  mhucka
 * The "type" field in Name2Type_Table really should be Abs_Type.
 *
 * Revision 1.5  1999/10/16 21:52:45  mhucka
 * Merged Upi's changes for supporting netCDF 3.4.  The changes in most files
 * only involve the copyright notice.  I also fixed up the comments slightly
 * to reflect the location of the actual netCDF copyright file.
 *
 * Revision 1.4  1999/10/16 21:23:47  mhucka
 * Venkat had a version of the diskio code in his home directory that he
 * appears to have been working on, and that did not make it into the
 * source tree that I had originally used as the starting point of my
 * GENESIS 2.2.2 DR reorganization effort.  In order to merge Venkat's
 * changes into the distribution, I'm reverting to his version, then will
 * update his version to incorporate recent changes by Upi for netCDF 3.4.
 *
 * Revision 1.2  1997/07/26  00:12:00  venkat
 * Added
 * */

#ifndef DISKIO_DEFS_H
#define DISKIO_DEFS_H

#include "absff_ext.h"

#define UPDATE 10010
#define FLUSH  1001

typedef struct {
    char *typename;
    Abs_Type type;
} Name2Type_Table;

typedef struct {
    char *name;
    int number;
} FormatName2Number_Table;

#define FF_Number(arr) ((int) (sizeof(arr) / sizeof(arr[0])))

#define HOLD_METADATA 1
/* UGLY_SIGNPOST */
/* This constant hard-sets the limit on the string value an attribute or
   variable can hold */
#define MAX_CHARS_IN_STRING 200

#endif