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.

22 lines
708 B

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1996 - 1999
  6. //
  7. // File: httptran.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #define TRANREAD 1
  11. #define TRANWRITE 2
  12. typedef DWORD HTRAN;
  13. extern "C" STTERR HttpOpen(HTRAN * phTran, const TCHAR * tszBinding, DWORD fOpen);
  14. extern "C" STTERR HttpSend(HTRAN hTran, DWORD cbSendBuff, const BYTE * pbSendBuff);
  15. extern "C" STTERR HttpFree(HTRAN hTran, BYTE * pb);
  16. extern "C" STTERR HttpReceive(HTRAN hTran, DWORD * pcbReceiveBuff, BYTE ** ppbReceiveBuff);
  17. extern "C" STTERR HttpClose(HTRAN hTran);