home *** CD-ROM | disk | FTP | other *** search
- /*********************
- *
- * ut_defs.h [NON-ANSI] - definitions used by utility functions.
- *
- * Purpose: This file contains the definitions for globals used by
- * the utility function group.
- *
- * Blackstar C Function Library
- * (c) Copyright 1985,1989 Sterling Castle Software
- *
- *******/
-
- struct DATE {
- int yr;
- short int dy;
- short int mo;
- } today_; /* current date */
-
- struct TIME {
- short int hr;
- short int mn;
- short int sec;
- short int hsec; /* 1/100's of second */
- } time_; /* current time */
-
- char dateoptf_ ; /* date format option flag */
- char timeoptf_ ; /* time format option flag */
- char leapf_; /* flag for a leap year */
-
- int mo_days_[13] =
- {0,31,28,31,30,31,30,31,31,30,31,30,31};
-
- char *mo_names_[] =
- {"January","February","March","April","May","June","July",
- "August","September","October","November","December"};
- char *mo_3names_[] =
- {"Jan","Feb","Mar","Apr","May","Jun","Jul",
- "Aug","Sep","Oct","Nov","Dec"};
-
- char *dy_names_[] =
- {"Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"};
- char *dy_3names_[] =
- {"Sun","Mon","Tue","Wed","Thu","Fri","Sat"};
-