home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / bbs / jet_conf / main.c < prev    next >
C/C++ Source or Header  |  1993-05-09  |  769b  |  46 lines

  1. /*
  2.  * MAIN.C
  3.  *
  4.  * main-module of semper.prg; calls init-routines and main loops;
  5.  *
  6.  */
  7.  
  8. /*--- includes              ---*/
  9.  
  10. #include "import.h"
  11. #include "init.h"
  12. #include "program.h"
  13.  
  14. #include "export.h"
  15.  
  16. /*--- defines               ---*/
  17.  
  18. /*--- types                 ---*/
  19.  
  20. /*--- variables             ---*/
  21.  
  22. GLOBAL BYTE compile_date[] = __DATE__ ;
  23.  
  24. /*--- prototypes            ---*/
  25.  
  26. /*--- functions             ---*/
  27.  
  28. /*--------------------------------------------------------------------
  29.  *  main-function of jet_conf;
  30.  *
  31.  *  calls init_jetconfig, switches call-mode and exits after term_jetconfig;
  32.  */
  33. GLOBAL WORD main( VOID )
  34. {
  35.     WORD ok;
  36.     
  37.     ok = prog_init( );
  38.     
  39.     program( );
  40.     
  41.     ok = prog_exit( );
  42.     
  43.     return( ok );
  44. }
  45.  
  46.