ReactOS  0.4.15-dev-313-g8fde48b
chunked_stream_t Struct Reference
Collaboration diagram for chunked_stream_t:

Public Types

enum  {
  CHUNKED_STREAM_STATE_READING_CHUNK_SIZE, CHUNKED_STREAM_STATE_DISCARD_EOL_AFTER_SIZE, CHUNKED_STREAM_STATE_READING_CHUNK, CHUNKED_STREAM_STATE_DISCARD_EOL_AFTER_DATA,
  CHUNKED_STREAM_STATE_DISCARD_EOL_AT_END, CHUNKED_STREAM_STATE_END_OF_STREAM, CHUNKED_STREAM_STATE_ERROR
}
 

Public Attributes

data_stream_t data_stream
 
BYTE buf [READ_BUFFER_SIZE]
 
DWORD buf_size
 
DWORD buf_pos
 
DWORD chunk_size
 
enum chunked_stream_t:: { ... }  state
 

Detailed Description

Definition at line 398 of file http.c.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
CHUNKED_STREAM_STATE_READING_CHUNK_SIZE 
CHUNKED_STREAM_STATE_DISCARD_EOL_AFTER_SIZE 
CHUNKED_STREAM_STATE_READING_CHUNK 
CHUNKED_STREAM_STATE_DISCARD_EOL_AFTER_DATA 
CHUNKED_STREAM_STATE_DISCARD_EOL_AT_END 
CHUNKED_STREAM_STATE_END_OF_STREAM 
CHUNKED_STREAM_STATE_ERROR 

Definition at line 406 of file http.c.

Member Data Documentation

◆ buf

BYTE chunked_stream_t::buf[READ_BUFFER_SIZE]

Definition at line 401 of file http.c.

Referenced by chunked_read(), and set_content_length().

◆ buf_pos

DWORD chunked_stream_t::buf_pos

Definition at line 403 of file http.c.

Referenced by chunked_read(), and set_content_length().

◆ buf_size

DWORD chunked_stream_t::buf_size

Definition at line 402 of file http.c.

Referenced by chunked_read(), and set_content_length().

◆ chunk_size

DWORD chunked_stream_t::chunk_size

Definition at line 404 of file http.c.

Referenced by chunked_read(), and set_content_length().

◆ data_stream

data_stream_t chunked_stream_t::data_stream

Definition at line 399 of file http.c.

Referenced by set_content_length().

◆ state

enum { ... } chunked_stream_t::state

The documentation for this struct was generated from the following file: