OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

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

Definition at line 33 of file gmpr_trace.h.

#define gmpr_trace (   instance,
  flag,
  ... 
)
Value:
if (instance->rinst_traceflags & (flag)) \
gmpx_trace(instance->rinst_context, __VA_ARGS__)
void gmpx_trace(void *context, const char *parms,...)
Definition: gmp_map.cc:548

Definition at line 14 of file gmpr_trace.h.

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

Definition at line 27 of file gmpr_trace.h.

#define GMPR_TRACE_CLIENT_NOTIFY   0x00000400 /* Client notification */

Definition at line 45 of file gmpr_trace.h.

#define GMPR_TRACE_GROUP   0x00000100 /* Group activity */

Definition at line 43 of file gmpr_trace.h.

#define GMPR_TRACE_HOST_NOTIFY   0x00000200 /* Host notification */

Definition at line 44 of file gmpr_trace.h.

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

Definition at line 21 of file gmpr_trace.h.

Function Documentation

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