home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 2: PC / frozenfish_august_1995.bin / bbs / d09xx / d0975.lha / PCal / noprotos.h < prev    next >
C/C++ Source or Header  |  1992-02-19  |  3KB  |  143 lines

  1. /*
  2.  * noprotos.h - K&R-style function declarations for Pcal sources
  3.  *
  4.  * Revision history:
  5.  *
  6.  *    4.3    AWR    12/06/91    added more routines
  7.  *
  8.  *    4.2    AWR    10/03/91    added various routines newly
  9.  *                    incorporated into writefil.c
  10.  *                    and pcalutil.c
  11.  *
  12.  *    4.02    AWR    06/07/91    added find_executable()
  13.  *
  14.  *    4.0    AWR    03/01/91    use <stdlib.h> where possible
  15.  *
  16.  *        AWR    02/19/91    adapted from protos.h (q.v.)
  17.  *
  18.  */
  19.  
  20.  
  21. /*
  22.  * Declarations for functions defined in exprpars.c:
  23.  */
  24. int parse_expr();
  25.  
  26.  
  27. /*
  28.  * Declarations for functions defined in moonphas.c:
  29.  */
  30. double    calc_phase();
  31. double    find_phase();
  32. char    *find_moonfile();
  33. int    read_moonfile();
  34.  
  35.  
  36. /*
  37.  * Declarations for functions defined in pcal.c:
  38.  */
  39. FILE    *alt_fopen();
  40. int    check_numargs();
  41. char    *color_msg();
  42. void    gen_shading();
  43. int    get_args();
  44. FLAG_USAGE *get_flag();
  45. void    init_misc();
  46. int    main();
  47. void    set_color();
  48. void    set_debug_flag();
  49. void    usage();
  50.  
  51.  
  52. /*
  53.  * Declarations for functions defined in pcalutil.c:
  54.  */
  55. char    *alloc();
  56. int    calc_day();
  57. int    calc_weekday();
  58. int    calc_year_day();
  59. int    ci_strcmp();
  60. int    ci_strncmp();
  61. void    copy_text();
  62. void    cvt_escape();
  63. char    *find_executable();
  64. int    getline();
  65. int    is_valid();
  66. int    loadwords();
  67. char    *mk_filespec();
  68. char    *mk_path();
  69. void    normalize();
  70. int    note_box();
  71. int    note_day();
  72. int    split_date();
  73. char    *trnlog();
  74.  
  75.  
  76. /*
  77.  * Declarations for functions defined in readfile.c:
  78.  */
  79. void    cleanup();
  80. void    clear_syms();
  81. int    date_type();
  82. int    do_define();
  83. int    do_ifdef();
  84. int    do_ifndef();
  85. int    do_include();
  86. int    do_undef();
  87. int    enter_day_info();
  88. int    find_sym();
  89. year_info *find_year();
  90. int    get_keywd();
  91. int    get_month();
  92. int    get_ordinal();
  93. int    get_phase();
  94. int    get_prep();
  95. int    get_token();
  96. int    get_weekday();
  97. int    is_anyday();
  98. int    is_firstq();
  99. int    is_fullmoon();
  100. int    is_holiday();
  101. int    is_lastq();
  102. int    is_newmoon();
  103. int    is_weekday();
  104. int    is_workday();
  105. int    not_holiday();
  106. int    not_weekday();
  107. int    not_workday();
  108. int    parse();
  109. int    parse_date();
  110. int    parse_ord();
  111. int    parse_rel();
  112. void    read_datefile();
  113.  
  114.  
  115. /*
  116.  * Declarations for functions defined in writefil.c:
  117.  */
  118. void    def_footstring();
  119. char    *expand_fmt();
  120. void    find_daytext();
  121. void    find_holidays();
  122. void    find_noteboxes();
  123. void    print_dates();
  124. void    print_julian_info();
  125. void    print_month();
  126. void    print_moon_info();
  127. void    print_pstext();
  128. void    print_text();
  129. char    *print_word();
  130. void    write_calfile();
  131. void    write_psfile();
  132.  
  133.  
  134. /*
  135.  * Prototypes for miscellaneous library routines (if not already included
  136.  * via <stdlib.h> - cf. pcaldefs.h)
  137.  */
  138. #ifndef STDLIB
  139. extern int    atoi();
  140. extern char    *calloc();
  141. extern char    *getenv();
  142. #endif
  143.