/*
 *  GVDR library for reading GVDR data files
 *  Copyright (C) 1994 Michael J. Maurer
 *
 *  This library is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Library General Public
 *  License as published by the Free Software Foundation; either
 *  version 2 of the License, or (at your option) any later version.
 *
 *  This library is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *  Library General Public License for more details.
 *
 *  You should have received a copy of the GNU Library General Public
 *  License along with this library; if not, write to the Free
 *  Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 *  Michael Maurer <maurer@nova.stanford.edu>
 *  Durand Bldg - Room 232
 *  Stanford, CA 94305-4055
 *  (415) 723-1024
 */
#ifdef GVDR_SFDU_C
/*
 *   This file was automatically generated by version 1.7 of cextract.
 *   Manual editing not recommended.
 *
 *   Created: Wed May 11 02:11:18 1994
 */
#ifndef gvdr_sfdu_H
#define gvdr_sfdu_H
#if __STDC__

static int get_gfmt ( gvdr_sfducat_t *gc );
static int get_seqno_in ( keyval_t *kv, gvdr_sfducat_t *gc );
static int get_ver ( keyval_t *kv, gvdr_sfducat_t *gc );
int gsfdu_parsehdr ( keyval_t *kv, gvdr_sfducat_t *gc );
int gsfdu_rhdr ( FILE *fp, gvdrhdr_t *h );
static int gsfdu_rhdr1 ( FILE *fp, sfdu_t *sf );
static int gsfdu_rhdr2 ( FILE *fp, sfdu_t *sf, keyval_t **kv );
static int gsfdu_rhdr3 ( FILE *fp, sfdu_t *sf, gvdr_sfduhdr_t *h );
static int gsfdu_rhdr4 ( FILE *fp, sfdu_t *sf, keyval_t **kv );
int gsfdu_rihdr ( FILE *fp, int *len );
int gsfdu_rlhdr ( FILE *fp, int *len );
int gsfdu_rtrl ( FILE *fp );

#else /* __STDC__ */

static int get_gfmt (/* gvdr_sfducat_t *gc */);
static int get_seqno_in (/* keyval_t *kv, gvdr_sfducat_t *gc */);
static int get_ver (/* keyval_t *kv, gvdr_sfducat_t *gc */);
int gsfdu_parsehdr (/* keyval_t *kv, gvdr_sfducat_t *gc */);
int gsfdu_rhdr (/* FILE *fp, gvdrhdr_t *h */);
static int gsfdu_rhdr1 (/* FILE *fp, sfdu_t *sf */);
static int gsfdu_rhdr2 (/* FILE *fp, sfdu_t *sf, keyval_t **kv */);
static int gsfdu_rhdr3 (/* FILE *fp, sfdu_t *sf, gvdr_sfduhdr_t *h */);
static int gsfdu_rhdr4 (/* FILE *fp, sfdu_t *sf, keyval_t **kv */);
int gsfdu_rihdr (/* FILE *fp, int *len */);
int gsfdu_rlhdr (/* FILE *fp, int *len */);
int gsfdu_rtrl (/* FILE *fp */);

#endif /* __STDC__ */
#endif /* gvdr_sfdu_H */
#else /* GVDR_SFDU_C */
/*
 *   This file was automatically generated by version 1.7 of cextract.
 *   Manual editing not recommended.
 *
 *   Created: Wed May 11 02:11:19 1994
 */
#ifndef gvdr_sfdu_H
#define gvdr_sfdu_H
#if __STDC__

extern int gsfdu_parsehdr ( keyval_t *kv, gvdr_sfducat_t *gc );
extern int gsfdu_rhdr ( FILE *fp, gvdrhdr_t *h );
extern int gsfdu_rihdr ( FILE *fp, int *len );
extern int gsfdu_rlhdr ( FILE *fp, int *len );
extern int gsfdu_rtrl ( FILE *fp );

#else /* __STDC__ */

extern int gsfdu_parsehdr (/* keyval_t *kv, gvdr_sfducat_t *gc */);
extern int gsfdu_rhdr (/* FILE *fp, gvdrhdr_t *h */);
extern int gsfdu_rihdr (/* FILE *fp, int *len */);
extern int gsfdu_rlhdr (/* FILE *fp, int *len */);
extern int gsfdu_rtrl (/* FILE *fp */);

#endif /* __STDC__ */
#endif /* gvdr_sfdu_H */
#endif /* GVDR_SFDU_C */
