version 1.57, 2007/02/02 04:34:49 |
version 1.58, 2007/02/19 11:40:00 |
|
|
* of the buffer. Instead, they are returned and should be freed later using |
* of the buffer. Instead, they are returned and should be freed later using |
* free(). |
* free(). |
*/ |
*/ |
void * |
u_char * |
cvs_buf_release(BUF *b) |
cvs_buf_release(BUF *b) |
{ |
{ |
u_char *tmp; |
u_char *tmp; |
|
|
* |
* |
* Peek at the contents of the buffer <b> at offset <off>. |
* Peek at the contents of the buffer <b> at offset <off>. |
*/ |
*/ |
const void * |
const u_char * |
cvs_buf_peek(BUF *b, size_t off) |
cvs_buf_peek(BUF *b, size_t off) |
{ |
{ |
if (off >= b->cb_len) |
if (off >= b->cb_len) |