home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / progc / c_source.arj / IIBCLIB.H < prev    next >
Encoding:
C/C++ Source or Header  |  1990-09-06  |  1.8 KB  |  90 lines

  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <dos.h>
  4. #include <time.h>
  5. #include <conio.h>
  6. #include <ctype.h>
  7. #include <malloc.h>
  8. #include <memory.h>
  9. #include <errno.h>
  10. #include <process.h>
  11. #include <string.h>
  12. #include <graph.h>
  13. #include <signal.h>
  14. #include<io.h>
  15. #include<share.h>
  16. #include<fcntl.h>
  17. #include<sys\types.h>
  18. #include<sys\stat.h>
  19. #include<sys\locking.h>
  20.  
  21. #include "iibclib.ext"
  22.  
  23. #define ON            1
  24. #define OFF           0
  25. #define BKSPACE      '\b'
  26. #define BLANK        ' '
  27. #define ZERO         '0'
  28. #define DECIMAL      '.'
  29. #define BELL         0x07
  30.  
  31. #define F1           59
  32. #define F2           60
  33. #define F3           61
  34. #define F10          68
  35.  
  36. #define TAB          '\t'
  37. #define SHIFT_TAB    15
  38. #define HOME         71
  39. #define UP_ARROW     72
  40. #define PAGE_UP      73
  41. #define LEFT_ARROW   75
  42. #define RIGHT_ARROW  77
  43. #define END          79
  44. #define DOWN_ARROW   80
  45. #define PAGE_DOWN    81
  46. #define INS_KEY      82
  47. #define DEL_KEY      83
  48.  
  49. #define C_LEFT       115
  50. #define C_RIGHT      116
  51. #define C_END        117
  52. #define C_HOME       119
  53.  
  54. #define BELL         0x07
  55.  
  56. #define NEW           1
  57. #define OLD           0
  58.  
  59. #define YES           1
  60. #define NO            0
  61.  
  62. #define UP            6
  63. #define DOWN          7
  64.  
  65. struct video_info {
  66.                     long   bkgrd[10];
  67.                     int    frgrd[10];
  68.                     char   plant[61];
  69.                   } ;
  70.  
  71. struct video_info env;
  72.  
  73. struct menu_line { char line[79]; } ;
  74. struct long_file_line { char line[257]; };
  75. struct file_line { char line[40]; } ;
  76.  
  77. time_t t_one,t_two;
  78. char time_buffer[9];
  79.  
  80. char d_buff[9];
  81. char date_string[13];
  82. char key_field[61];
  83. char mid_field[61];
  84. char top_field[61];
  85. char bot_field[61];
  86.  
  87. long li,lj;
  88.  
  89. int loop1,loop2;
  90.