src/cx/buffer.h

changeset 1181
183bf43aa9b9
parent 1180
4c3a69b9723a
equal deleted inserted replaced
1180:4c3a69b9723a 1181:183bf43aa9b9
137 */ 137 */
138 cx_write_func wfunc; 138 cx_write_func wfunc;
139 }; 139 };
140 140
141 /** 141 /**
142 * Type alais for the flush configuration struct. 142 * Type alias for the flush configuration struct.
143 * 143 *
144 * @code 144 * @code
145 * struct cx_buffer_flush_config_s { 145 * struct cx_buffer_flush_config_s {
146 * size_t threshold; 146 * size_t threshold;
147 * size_t blksize; 147 * size_t blksize;
171 /** 171 /**
172 * Optional flush configuration 172 * Optional flush configuration
173 * 173 *
174 * @see cxBufferEnableFlushing() 174 * @see cxBufferEnableFlushing()
175 */ 175 */
176 CxBufferFlushConfig* flush; 176 CxBufferFlushConfig *flush;
177 /** Current position of the buffer. */ 177 /** Current position of the buffer. */
178 size_t pos; 178 size_t pos;
179 /** Current capacity (i.e. maximum size) of the buffer. */ 179 /** Current capacity (i.e. maximum size) of the buffer. */
180 size_t capacity; 180 size_t capacity;
181 /** Current size of the buffer content. */ 181 /** Current size of the buffer content. */

mercurial