/* * 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 * Durand Bldg - Room 232 * Stanford, CA 94305-4055 * (415) 723-1024 */ #ifdef PROJ_C /* * This file was automatically generated by version 1.7 of cextract. * Manual editing not recommended. * * Created: Wed May 11 02:11:48 1994 */ #ifndef proj_H #define proj_H #if __STDC__ hemi_id hemi_lookup ( char *name ); char * hemi_name ( hemi_id hemi ); int proj_bounds ( proj_t *P, int X, int Y ); void proj_clear ( proj_t *P ); int proj_free ( proj_t *P ); int proj_fromlat ( proj_t *P, double lon, double lat, double *X, double *Y ); static int proj_getid ( proj_t *P ); char * proj_name ( proj_id proj ); void proj_phdr ( FILE *fp, proj_t *P ); char * proj_sname ( proj_id proj ); int proj_tolat ( proj_t *P, double X, double Y, double *lon, double *lat ); #else /* __STDC__ */ hemi_id hemi_lookup (/* char *name */); char * hemi_name (/* hemi_id hemi */); int proj_bounds (/* proj_t *P, int X, int Y */); void proj_clear (/* proj_t *P */); int proj_free (/* proj_t *P */); int proj_fromlat (/* proj_t *P, double lon, double lat, double *X, double *Y */); static int proj_getid (/* proj_t *P */); char * proj_name (/* proj_id proj */); void proj_phdr (/* FILE *fp, proj_t *P */); char * proj_sname (/* proj_id proj */); int proj_tolat (/* proj_t *P, double X, double Y, double *lon, double *lat */); #endif /* __STDC__ */ #endif /* proj_H */ #else /* PROJ_C */ /* * This file was automatically generated by version 1.7 of cextract. * Manual editing not recommended. * * Created: Wed May 11 02:11:50 1994 */ #ifndef proj_H #define proj_H #if __STDC__ extern hemi_id hemi_lookup ( char *name ); extern char * hemi_name ( hemi_id hemi ); extern int proj_bounds ( proj_t *P, int X, int Y ); extern void proj_clear ( proj_t *P ); extern int proj_free ( proj_t *P ); extern int proj_fromlat ( proj_t *P, double lon, double lat, double *X, double *Y ); extern char * proj_name ( proj_id proj ); extern void proj_phdr ( FILE *fp, proj_t *P ); extern char * proj_sname ( proj_id proj ); extern int proj_tolat ( proj_t *P, double X, double Y, double *lon, double *lat ); #else /* __STDC__ */ extern hemi_id hemi_lookup (/* char *name */); extern char * hemi_name (/* hemi_id hemi */); extern int proj_bounds (/* proj_t *P, int X, int Y */); extern void proj_clear (/* proj_t *P */); extern int proj_free (/* proj_t *P */); extern int proj_fromlat (/* proj_t *P, double lon, double lat, double *X, double *Y */); extern char * proj_name (/* proj_id proj */); extern void proj_phdr (/* FILE *fp, proj_t *P */); extern char * proj_sname (/* proj_id proj */); extern int proj_tolat (/* proj_t *P, double X, double Y, double *lon, double *lat */); #endif /* __STDC__ */ #endif /* proj_H */ #endif /* PROJ_C */