C AMQP Protocol Engine API  0.7
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
framing.h File Reference
#include <proton/import_export.h>
#include <proton/type_compat.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)

Macro Definition 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