buf_pos_t Struct Reference


Data Fields

const chunk_tchunk
int pos
size_t chunk_pos

Detailed Description

Internal structure: represents a position in a buffer.

Field Documentation

Which chunk are we pointing to?

Referenced by buf_find_pos_of_char(), buf_matches_at_pos(), buf_pos_inc(), and buf_pos_init().

Which character inside the chunk's data are we pointing to?

Referenced by buf_find_pos_of_char(), buf_find_string_offset(), buf_matches_at_pos(), buf_pos_inc(), and buf_pos_init().

Total length of all previous chunks.

Referenced by buf_find_pos_of_char(), buf_find_string_offset(), buf_pos_inc(), and buf_pos_init().


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

Generated on Tue May 25 00:31:06 2010 for tor by  doxygen 1.5.6