1 #ifndef PROTON_ENGINE_H
2 #define PROTON_ENGINE_H 1
30 #include <sys/types.h>
91 #ifndef SWIG // older versions of SWIG choke on this:
100 #define PN_LOCAL_UNINIT (1)
101 #define PN_LOCAL_ACTIVE (2)
102 #define PN_LOCAL_CLOSED (4)
103 #define PN_REMOTE_UNINIT (8)
104 #define PN_REMOTE_ACTIVE (16)
105 #define PN_REMOTE_CLOSED (32)
107 #define PN_LOCAL_MASK (PN_LOCAL_UNINIT | PN_LOCAL_ACTIVE | PN_LOCAL_CLOSED)
108 #define PN_REMOTE_MASK (PN_REMOTE_UNINIT | PN_REMOTE_ACTIVE | PN_REMOTE_CLOSED)
116 #define PN_RECEIVED (0x0000000000000023)
117 #define PN_ACCEPTED (0x0000000000000024)
118 #define PN_REJECTED (0x0000000000000025)
119 #define PN_RELEASED (0x0000000000000026)
120 #define PN_MODIFIED (0x0000000000000027)
124 #define PN_TRACE_OFF (0)
125 #define PN_TRACE_RAW (1)
126 #define PN_TRACE_FRM (2)
127 #define PN_TRACE_DRV (4)