C AMQP Protocol Engine API  0.5
proton/framing.h File Reference
#include <proton/import_export.h>
#include <stdint.h>
#include <sys/types.h>
Include dependency graph for framing.h:

Go to the source code of this file.


struct  pn_frame_t


#define AMQP_HEADER_SIZE   (8)
#define AMQP_MIN_MAX_FRAME_SIZE   ((uint32_t)512)


PN_EXTERN size_t pn_read_frame (pn_frame_t *frame, const char *bytes, size_t available)
PN_EXTERN size_t pn_write_frame (char *bytes, size_t size, pn_frame_t frame)

Define Documentation

#define AMQP_HEADER_SIZE   (8)
#define AMQP_MIN_MAX_FRAME_SIZE   ((uint32_t)512)

Function Documentation

PN_EXTERN size_t pn_read_frame ( pn_frame_t frame,
const char *  bytes,
size_t  available 
PN_EXTERN size_t pn_write_frame ( char *  bytes,
size_t  size,
pn_frame_t  frame