317 */ |
317 */ |
318 __attribute__((__nonnull__)) |
318 __attribute__((__nonnull__)) |
319 void cxBufferClear(CxBuffer *buffer); |
319 void cxBufferClear(CxBuffer *buffer); |
320 |
320 |
321 /** |
321 /** |
322 * Tests, if the buffer position has exceeded the buffer capacity. |
322 * Tests, if the buffer position has exceeded the buffer size. |
323 * |
323 * |
324 * @param buffer the buffer to test |
324 * @param buffer the buffer to test |
325 * @return non-zero, if the current buffer position has exceeded the last |
325 * @return non-zero, if the current buffer position has exceeded the last |
326 * available byte of the buffer. |
326 * byte of the buffer's contents. |
327 */ |
327 */ |
328 __attribute__((__nonnull__)) |
328 __attribute__((__nonnull__)) |
329 int cxBufferEof(CxBuffer const *buffer); |
329 int cxBufferEof(CxBuffer const *buffer); |
330 |
330 |
331 |
331 |