Add support for show peers monitoring request
[trust_router.git] / include / mon_internal.h
index 4dac054..c58b9d7 100644 (file)
@@ -105,6 +105,7 @@ enum mon_opt_type {
 
   // Dynamic trust router state
   OPT_TYPE_SHOW_ROUTES,
+  OPT_TYPE_SHOW_PEERS,
   OPT_TYPE_SHOW_COMMUNITIES
 };
 
@@ -134,6 +135,7 @@ struct mons_instance {
   MONS_AUTH_FUNC *auth_handler;
   void *cookie;
   GPtrArray *handlers;
+  GArray *pids; /* PIDs of active mons processes */
 };
 
 /* Client instance */