#include <tr_config.h>
#include <tr_cfgwatch.h>
#include <tr_event.h>
+#include <mon_internal.h>
typedef struct tr_trps_events {
struct event *trps_ev;
TR_CFG_MGR *cfg_mgr;
TIDS_INSTANCE *tids;
TRPS_INSTANCE *trps;
+ MONS_INSTANCE *mons;
TR_CFGWATCH *cfgwatch;
TR_TRPS_EVENTS *events;
};
void tr_config_changed(TR_CFG *new_cfg, void *cookie);
TRP_RC tr_connect_to_peers(TRPS_INSTANCE *trps, struct event *ev);
void tr_peer_status_change(TRP_PEER *peer, void *cookie);
+
+/* tr_trp_mons.h */
+void tr_trp_register_mons_handlers(TRPS_INSTANCE *trps, MONS_INSTANCE *mons);
+
#endif /* TR_TRP_H */