#ifndef JUL_GREG #define JUL_GREG struct jul_greg { int m; /* month (1->Jan to 12->Dec) */ int d; /* day of month */ int y; /* year (actual year, like 1977; 77 is 77 a.d.) */ int wd; /* day of week (0->Sunday to 6->Saturday) */ long j; /* julian day */ } ; int jdate ( struct jul_greg * ); int jday ( struct jul_greg * ); int jg_init ( struct jul_greg * ); int jg_check ( ); int jg_update ( int, int ); int jg_nth_day ( int, int ); int jg_jdate ( long ); char * getdate ( int, int, int, char ** ); int yyparse ( ); int yyerror ( char * ); int yylex ( ); #endif