13 #define GMP_TRACE_QUERY 0x00000001
14 #define GMP_TRACE_QUERY_DETAIL 0x00000002
15 #define GMP_TRACE_REPORT 0x00000004
16 #define GMP_TRACE_REPORT_DETAIL 0x00000008
17 #define GMP_TRACE_LEAVE 0x00000010
18 #define GMP_TRACE_LEAVE_DETAIL 0x00000020
19 #define GMP_TRACE_PACKET_BAD 0x00000040
20 #define GMP_TRACE_PACKET (GMP_TRACE_QUERY | GMP_TRACE_REPORT | \
22 #define GMP_TRACE_PACKET_DETAIL (GMP_TRACE_QUERY_DETAIL | \
23 GMP_TRACE_REPORT_DETAIL | \
24 GMP_TRACE_LEAVE_DETAIL)
34 return ((traceflags & tracebits) != 0);
42 #define gmp_trace(context, traceflags, flag, ...) \
43 if (gmp_trace_set((traceflags), (flag))) \
44 gmpx_trace((context), __VA_ARGS__)
static boolean gmp_trace_set(uint32_t traceflags, uint32_t tracebits)
const char * gmp_proto_string(gmp_proto proto)
const char * gmp_report_type_string(gmp_report_rectype type)
const char * gmp_filter_mode_string(gmp_filter_mode mode)
const char * gmp_generic_version_string(gmp_version ver)