home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / WEBSERVE / SAMBAR / DATA.1 / main.c < prev    next >
C/C++ Source or Header  |  1997-04-27  |  769b  |  40 lines

  1. /*
  2. ** MAIN
  3. **
  4. **      This is the main driver for the DOS Shell driver of the Sambar
  5. **        Server.
  6. **
  7. **        Confidential Property of Tod Sambar
  8. **        (c) Copyright Tod Sambar 1995-1997
  9. **        All rights reserved.
  10. **
  11. **
  12. ** Syntax:
  13. **
  14. **      server
  15. **
  16. ** Returns:
  17. **      0               The program exited successfully.
  18. **      1               An error was detected.
  19. **
  20. **
  21. ** History:
  22. ** Chg#    Date    Description                                                Resp
  23. ** ----    -------    -------------------------------------------------------    ----
  24. **        12SEP95 Created                                                    sambar
  25. */
  26.  
  27. #include    <sambar.h>
  28.  
  29. int    
  30. main(argc, argv)
  31. int        argc;
  32. char    *argv[];
  33. {
  34.     /* Execute the Sambar Server Shell                                    */
  35.     if (sa_server((SA_VOID *)NULL) != SA_SUCCEED)
  36.         return (1);
  37.  
  38.     return(0);
  39. }
  40.