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.

84 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. protocol.h
  5. Abstract:
  6. Prototypes, etc. for protocol.c
  7. Author:
  8. Richard L Firth (rfirth) 16-Mar-1995
  9. Revision History:
  10. 16-Mar-1995
  11. Created
  12. --*/
  13. #if defined(__cplusplus)
  14. extern "C" {
  15. #endif
  16. //
  17. // prototypes
  18. //
  19. DWORD
  20. Command(
  21. IN OUT LPFTP_SESSION_INFO lpSessionInfo,
  22. IN BOOL fExpectResponse,
  23. IN DWORD dwFlags,
  24. IN OUT FTP_RESPONSE_CODE * prcResponse,
  25. IN LPCSTR lpszCommandFormat,
  26. IN ...
  27. );
  28. DWORD
  29. I_Command(
  30. IN LPFTP_SESSION_INFO lpSessionInfo,
  31. IN BOOL fExpectResponse,
  32. IN DWORD dwFlags,
  33. IN FTP_RESPONSE_CODE * prcResponse,
  34. IN LPCSTR lpszCommandFormat,
  35. IN va_list arglist
  36. );
  37. DWORD
  38. __cdecl
  39. NegotiateDataConnection(
  40. IN LPFTP_SESSION_INFO lpSessionInfo,
  41. IN DWORD dwFlags,
  42. OUT FTP_RESPONSE_CODE * prcResponse,
  43. IN LPCSTR lpszCommandFormat,
  44. IN ...
  45. );
  46. DWORD
  47. GetReply(
  48. IN LPFTP_SESSION_INFO lpSessionInfo,
  49. OUT FTP_RESPONSE_CODE * prcResponse
  50. );
  51. DWORD
  52. ReceiveFtpResponse(
  53. IN ICSocket * Socket,
  54. OUT LPVOID * lpBuffer,
  55. OUT LPDWORD lpdwBufferLength,
  56. IN BOOL bEndOfLineCheck,
  57. IN FTP_RESPONSE_CODE * prcResponse
  58. );
  59. DWORD
  60. AbortTransfer(
  61. IN LPFTP_SESSION_INFO lpSessionInfo
  62. );
  63. #if defined(__cplusplus)
  64. }
  65. #endif