OpenSDN source code
gmpr_trace.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define gmpr_trace(instance, flag, ...)
 
#define gmpr_trace_uncond(instance, ...)    gmpx_trace(instance->rinst_context, __VA_ARGS__)
 
#define gmpr_trace_agent(...)    gmpx_trace(NULL, __VA_ARGS__)
 
#define gmpr_post_event(instance, ev, ...)    gmpx_post_event(instance->rinst_context, ev, __VA_ARGS__)
 
#define GMPR_TRACE_GROUP   0x00000100 /* Group activity */
 
#define GMPR_TRACE_HOST_NOTIFY   0x00000200 /* Host notification */
 
#define GMPR_TRACE_CLIENT_NOTIFY   0x00000400 /* Client notification */
 

Functions

const char * gmpr_client_notif_string (gmpr_client_notification_type type)
 
const char * gmpr_host_notif_string (gmpr_client_host_notification_type type)
 

Macro Definition Documentation

◆ gmpr_post_event

#define gmpr_post_event (   instance,
  ev,
  ... 
)     gmpx_post_event(instance->rinst_context, ev, __VA_ARGS__)

Definition at line 33 of file gmpr_trace.h.

◆ gmpr_trace

#define gmpr_trace (   instance,
  flag,
  ... 
)
Value:
if (instance->rinst_traceflags & (flag)) \
gmpx_trace(instance->rinst_context, __VA_ARGS__)

Definition at line 14 of file gmpr_trace.h.

◆ gmpr_trace_agent

#define gmpr_trace_agent (   ...)     gmpx_trace(NULL, __VA_ARGS__)

Definition at line 27 of file gmpr_trace.h.

◆ GMPR_TRACE_CLIENT_NOTIFY

#define GMPR_TRACE_CLIENT_NOTIFY   0x00000400 /* Client notification */

Definition at line 45 of file gmpr_trace.h.

◆ GMPR_TRACE_GROUP

#define GMPR_TRACE_GROUP   0x00000100 /* Group activity */

Definition at line 43 of file gmpr_trace.h.

◆ GMPR_TRACE_HOST_NOTIFY

#define GMPR_TRACE_HOST_NOTIFY   0x00000200 /* Host notification */

Definition at line 44 of file gmpr_trace.h.

◆ gmpr_trace_uncond

#define gmpr_trace_uncond (   instance,
  ... 
)     gmpx_trace(instance->rinst_context, __VA_ARGS__)

Definition at line 21 of file gmpr_trace.h.

Function Documentation

◆ gmpr_client_notif_string()

const char* gmpr_client_notif_string ( gmpr_client_notification_type  type)

◆ gmpr_host_notif_string()

const char* gmpr_host_notif_string ( gmpr_client_host_notification_type  type)