home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / nextstep / expanded / LocalApps / Executor.app / ardimods / ardimods_main.c next >
Encoding:
Text File  |  1994-06-15  |  691 b   |  28 lines

  1. /*
  2.  * Although written by Abacus R&D, the source code in this file is not
  3.  * copyrighted by Abacus R&D, but is in the public domain.
  4.  */
  5.  
  6. /* ardimods_main.c:  major functions of ardimods */
  7.  
  8. #import <syslog.h>
  9. #import <kernserv/kern_server_types.h>
  10.  
  11. kern_server_t instance;
  12.  
  13. /* ardimods_init:  Called when ardimods is loaded. */
  14. void ardimods_init(void)
  15. {
  16.     replace_vectors();
  17.     printf("ARDI mods 1.8 loaded (for NEXTSTEP 3.0 or later)\n");
  18.     printf("Fast A-line Traps installed\n");
  19. }
  20.  
  21. /* ardimods_signoff:  Called when ardimods is unloaded. */
  22. void ardimods_signoff(void)
  23. {
  24.     restore_vectors();
  25.     printf("ARDI mods 1.8 unloaded\n");
  26.     printf("Fast A-line Traps removed\n");
  27. }
  28.