Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 lines
951 B

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. ftpinit.cxx
  5. Abstract:
  6. FTP package-specific initialization & termination. Used to be libmain.c
  7. Contents:
  8. FtpInitialize
  9. FtpTerminate
  10. Author:
  11. Richard L Firth (rfirth) 09-Jun-1995
  12. Environment:
  13. Win32 user-mode
  14. Revision History:
  15. 09-Jun-1995 rfirth
  16. Created
  17. --*/
  18. #include <wininetp.h>
  19. #include "ftpapih.h"
  20. //
  21. // functions
  22. //
  23. VOID
  24. FtpInitialize(
  25. VOID
  26. )
  27. /*++
  28. Routine Description:
  29. Performs FTP-specific initialization
  30. Arguments:
  31. None.
  32. Return Value:
  33. None.
  34. --*/
  35. {
  36. FtpSessionInitialize();
  37. }
  38. VOID
  39. FtpTerminate(
  40. VOID
  41. )
  42. /*++
  43. Routine Description:
  44. Performs FTP-specific termination/cleanup
  45. Arguments:
  46. None.
  47. Return Value:
  48. None.
  49. --*/
  50. {
  51. CleanupFtpSessions();
  52. FtpSessionTerminate();
  53. }