home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / software / pelne / optionp / iis4_07.cab / ctetest.h < prev    next >
C/C++ Source or Header  |  1997-10-25  |  794b  |  58 lines

  1. /*++
  2.  
  3. Copyright (c) 1997 Microsoft Corporation
  4.  
  5. Module Name:
  6.  
  7.     ctetest.h
  8.  
  9. Abstract:
  10.  
  11.     This header files contains the common routines used for
  12.     Chunked Transfer Encoding ISAPI Extension DLL sample.
  13.  
  14. --*/
  15.  
  16. #ifndef _CTETEST_H
  17. #define _CTETEST_H
  18.  
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif
  22.  
  23. #include <httpext.h>
  24. #include <stdlib.h>
  25. #include <stdio.h>
  26.  
  27. // see cte_enc.c for details
  28. typedef struct CTE_ENCODER_STRUCT * HCTE_ENCODER;
  29.  
  30. HCTE_ENCODER 
  31. CteBeginWrite( 
  32.     IN EXTENSION_CONTROL_BLOCK *pECB, 
  33.     IN DWORD dwChunkSize
  34.     );   
  35.  
  36. BOOL 
  37. CteWrite( 
  38.     IN HCTE_ENCODER h, 
  39.     IN PVOID pData, 
  40.     IN DWORD cbData
  41.     );
  42.     
  43. BOOL 
  44. CteEndWrite( 
  45.     IN HCTE_ENCODER h
  46.     );
  47.  
  48. #ifdef __cplusplus
  49. }
  50. #endif
  51.  
  52. #endif // _CTETEST_H
  53.  
  54.  
  55.  
  56.  
  57.  
  58.