home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 106 / EnigmaAmiga106CD.iso / software / sviluppo / pmm / developer / autostarts_src / reqtoolsbase.c < prev   
Encoding:
C/C++ Source or Header  |  1999-08-30  |  306 b   |  19 lines

  1. #include <stdio.h>
  2. #include <exec/libraries.h>
  3. #include <proto/exec.h>
  4.  
  5. struct Library *ReqToolsBase = NULL;
  6.  
  7. void _INIT_5_ReqToolsBase()
  8. {
  9.   if (!(ReqToolsBase = OpenLibrary("reqtools.library",0))) {
  10.     exit(20);
  11.   }
  12. }
  13.  
  14. void _EXIT_5_ReqToolsBase()
  15. {
  16.   if (ReqToolsBase)
  17.     CloseLibrary(ReqToolsBase);
  18. }
  19.