#include "xdas_wire.h"
#include <stddef.h>
Go to the source code of this file.
Data Structures | |
struct | xdas_buffer_tag |
Buffer object holds XDAS wire messages. More... | |
Defines | |
#define | xdas_buffer_get_uint32(b) xdas_get_uint32(&(b)->curpos) |
#define | xdas_buffer_get_uint24(b) xdas_get_uint24(&(b)->curpos) |
#define | xdas_buffer_get_uint16(b) xdas_get_uint16(&(b)->curpos) |
#define | xdas_buffer_put_uint32(b, v) xdas_put_uint32(&(b)->curpos,(v)) |
#define | xdas_buffer_put_uint24(b, v) xdas_put_uint24(&(b)->curpos,(v)) |
#define | xdas_buffer_put_uint16(b, v) xdas_put_uint16(&(b)->curpos,(v)) |
Typedefs | |
typedef struct xdas_buffer_tag * | xdas_buffer |
Buffer object holds XDAS wire messages. | |
Functions | |
xdas_buffer | xdas_buffer_alloc (size_t size) |
Allocates a message buffer. | |
xdas_buffer | xdas_buffer_realloc (xdas_buffer buf, size_t size) |
Resizes a message buffer. | |
xdas_buffer | xdas_buffer_dup (xdas_buffer buf) |
Returns a duplicate buffer. | |
void | xdas_buffer_free (xdas_buffer buf) |
Free a message buffer. |
Includes structures, constants and functions that used to handle memory allocation for xdas network message buffers.
Definition in file xdas_buf.h.