Data Fields | |
uint32_t | magic |
size_t | datalen |
size_t | default_chunk_size |
chunk_t * | head |
chunk_t * | tail |
uint32_t buf_t::magic |
Magic cookie for debugging: Must be set to BUFFER_MAGIC.
Referenced by assert_buf_ok(), buf_free(), and buf_new().
size_t buf_t::datalen |
How many bytes is this buffer holding right now?
Referenced by assert_buf_ok(), buf_clear(), buf_datalen(), buf_pullup(), buf_remove_from_front(), fetch_from_buf(), fetch_from_buf_http(), fetch_from_buf_socks(), fetch_from_buf_socks_client(), fetch_var_cell_from_buf(), flush_chunk_tls(), move_buf_to_buf(), peek_buf_has_control0_command(), read_to_chunk(), read_to_chunk_tls(), write_to_buf(), and write_to_buf_zlib().
size_t buf_t::default_chunk_size |
Don't allocate any chunks smaller than this for this buffer.
Referenced by buf_add_chunk_with_capacity(), buf_new(), and buf_new_with_capacity().
First chunk in the list, or NULL for none.
Referenced by assert_buf_ok(), buf_add_chunk_with_capacity(), buf_allocation(), buf_clear(), buf_find_offset_of_char(), buf_pos_init(), buf_pullup(), buf_remove_from_front(), fetch_from_buf_http(), fetch_from_buf_line(), fetch_from_buf_socks(), fetch_from_buf_socks_client(), flush_buf(), flush_buf_tls(), and peek_from_buf().
Last chunk in the list, or NULL for none.
Referenced by assert_buf_ok(), buf_add_chunk_with_capacity(), buf_clear(), buf_pullup(), buf_remove_from_front(), buf_slack(), read_to_buf(), read_to_buf_tls(), write_to_buf(), and write_to_buf_zlib().