NCBI C++ ToolKit
Macros | Typedefs | Functions
ncbi_buffer.h File Reference
#include <connect/connect_export.h>
#include <stddef.h>
+ Include dependency graph for ncbi_buffer.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define BUF_DEF_CHUNK_SIZE   1024
 

Typedefs

typedef struct SNcbiBufBUF
 handle of a buffer More...
 

Functions

size_t BUF_SetChunkSize (BUF *pBuf, size_t chunk_size)
 
size_t BUF_Size (BUF buf)
 
int BUF_PrependEx (BUF *pBuf, void *base, size_t alloc_size, void *data, size_t size)
 
int BUF_Prepend (BUF *pBuf, const void *data, size_t size)
 
int BUF_AppendEx (BUF *pBuf, void *base, size_t alloc_size, void *data, size_t size)
 
int BUF_Append (BUF *pBuf, const void *data, size_t size)
 
int BUF_Write (BUF *pBuf, const void *data, size_t size)
 
int BUF_Pushback (BUF *pBuf, const void *data, size_t size)
 
size_t BUF_Peek (BUF buf, void *data, size_t size)
 
size_t BUF_PeekAt (BUF buf, size_t pos, void *data, size_t size)
 
size_t BUF_PeekAtCB (BUF buf, size_t pos, size_t(*callback)(void *cbdata, const void *buf, size_t size), void *cbdata, size_t size)
 
size_t BUF_Read (BUF buf, void *data, size_t size)
 
void BUF_Erase (BUF buf)
 
int BUF_Splice (BUF *dst, BUF src)
 
void BUF_Destroy (BUF buf)
 

Macro Definition Documentation

◆ BUF_DEF_CHUNK_SIZE

#define BUF_DEF_CHUNK_SIZE   1024

Definition at line 57 of file ncbi_buffer.h.

Modified on Wed Sep 04 15:04:37 2024 by modify_doxy.py rev. 669887