home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / graphics-0.17 / dist-stat / gps.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-11-13  |  1.6 KB  |  58 lines

  1. /*
  2.  * $Header: /files1/home/toy/src/stat/RCS/gps.h,v 1.6 90/11/04 18:17:33 toy Exp $
  3.  *
  4.  * $Log:    gps.h,v $
  5.  * Revision 1.6  90/11/04  18:17:33  toy
  6.  * Added prototype for next_column.
  7.  *
  8.  * Revision 1.5  90/09/09  14:00:27  toy
  9.  * Added declarations/prototypes for print_help_strings, set_def_prec,
  10.  * set_f_format, and set_g_format.
  11.  *
  12.  * Revision 1.4  90/09/02  17:16:33  toy
  13.  * Added prototype for read_vector.
  14.  *
  15.  * Revision 1.3  90/09/02  11:16:53  toy
  16.  * New definition of get_my_name.
  17.  *
  18.  * Revision 1.2  90/09/01  18:11:10  toy
  19.  * Added declarations for the new library routines for reading
  20.  * and writing numbers and for printing messages.
  21.  *
  22.  * Revision 1.1  90/08/31  14:50:59  toy
  23.  * Initial revision
  24.  *
  25.  */
  26.  
  27. #ifndef    _GPS
  28. #define    _GPS
  29.  
  30. #if    defined(__STDC__) || defined(__GNUC__)
  31. #undef    PARMS
  32. #define    PARMS(x)    x
  33. #else
  34. #define    PARMS(x)    ()
  35. #define    const
  36. #endif
  37.  
  38. #define    TRUE    1
  39. #define    FALSE    0
  40.  
  41. extern const char *progname;
  42.  
  43. extern char *get_my_name PARMS ((char *argv, const char *def_name));
  44. extern int get_number PARMS ((FILE * fp, double *value));
  45. extern void print_number PARMS ((FILE * fp, double value));
  46. extern void print_help_strings PARMS ((const char *str_array[]));
  47. extern int set_max_columns PARMS ((int max));
  48. extern int set_precision PARMS ((int prec));
  49. extern void set_def_prec PARMS ((void));
  50. extern void end_column PARMS ((FILE * fp));
  51. extern void message PARMS ((const char *format,...));
  52. extern double *read_vector PARMS ((FILE * fp, int *rank));
  53. extern void set_f_format PARMS ((void));
  54. extern void set_g_format PARMS ((void));
  55. extern void next_column PARMS ((FILE * fp));
  56.  
  57. #endif
  58.