home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 2 / goldfish_vol2_cd1.bin / files / dev / src / amilock / source / logout.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-08-03  |  406 b   |  21 lines

  1. #include <exec/ports.h>
  2. #include <stdio.h>
  3. #include <stdlib.h>
  4. #include <string.h>
  5.  
  6. #include "headers/global.h"
  7. #include "headers/deamon.h"
  8. #include "headers/talkto_proto.h"
  9.  
  10. static const char __Version[]=LOGOUTVERST;
  11.  
  12. void __main(argv)
  13. char *argv;
  14. {
  15.     ULONG    Status;
  16.  
  17.     Status = TalkTo(NULL,NULL,NULL,LOGOUT);    /*send signal to deamon to start login*/
  18.     if (!(Status == OK)) {
  19.         printf("logout Failed\n");
  20.     }
  21. }