1 #ifndef PROTON_ENGINE_H
2 #define PROTON_ENGINE_H 1
30 #include <sys/types.h>
75 #ifndef SWIG // older versions of SWIG choke on this:
84 #define PN_LOCAL_UNINIT (1)
85 #define PN_LOCAL_ACTIVE (2)
86 #define PN_LOCAL_CLOSED (4)
87 #define PN_REMOTE_UNINIT (8)
88 #define PN_REMOTE_ACTIVE (16)
89 #define PN_REMOTE_CLOSED (32)
91 #define PN_LOCAL_MASK (PN_LOCAL_UNINIT | PN_LOCAL_ACTIVE | PN_LOCAL_CLOSED)
92 #define PN_REMOTE_MASK (PN_REMOTE_UNINIT | PN_REMOTE_ACTIVE | PN_REMOTE_CLOSED)
109 #define PN_TRACE_OFF (0)
110 #define PN_TRACE_RAW (1)
111 #define PN_TRACE_FRM (2)
112 #define PN_TRACE_DRV (4)
114 #define PN_SESSION_WINDOW (1024)