1 #ifndef PROTON_ENGINE_H
2 #define PROTON_ENGINE_H 1
27 #include <sys/types.h>
72 #define pn_dtag(BYTES, SIZE) ((pn_delivery_tag_t) {(SIZE), (BYTES)})
76 #define PN_LOCAL_UNINIT (1)
77 #define PN_LOCAL_ACTIVE (2)
78 #define PN_LOCAL_CLOSED (4)
79 #define PN_REMOTE_UNINIT (8)
80 #define PN_REMOTE_ACTIVE (16)
81 #define PN_REMOTE_CLOSED (32)
83 #define PN_LOCAL_MASK (PN_LOCAL_UNINIT | PN_LOCAL_ACTIVE | PN_LOCAL_CLOSED)
84 #define PN_REMOTE_MASK (PN_REMOTE_UNINIT | PN_REMOTE_ACTIVE | PN_REMOTE_CLOSED)
101 #define PN_TRACE_OFF (0)
102 #define PN_TRACE_RAW (1)
103 #define PN_TRACE_FRM (2)
104 #define PN_TRACE_DRV (4)
106 #define PN_SESSION_WINDOW (1024)