X-Git-Url: http://www.project-moonshot.org/gitweb/?p=trust_router.git;a=blobdiff_plain;f=include%2Ftr_trp.h;fp=include%2Ftr_trp.h;h=dea20e42a9bf04d275ece21bf033c581769fef6f;hp=297295f708de5ab2785c79ea1f83979453e549d5;hb=6f65c9cce86719147d0b4dcc9823b25443c2d185;hpb=eaa1a8ceed54fbfadc2638cf383aaa12ab446a57 diff --git a/include/tr_trp.h b/include/tr_trp.h index 297295f..dea20e4 100644 --- a/include/tr_trp.h +++ b/include/tr_trp.h @@ -44,6 +44,7 @@ #include #include #include +#include typedef struct tr_trps_events { struct event *trps_ev; @@ -59,6 +60,7 @@ struct tr_instance { TR_CFG_MGR *cfg_mgr; TIDS_INSTANCE *tids; TRPS_INSTANCE *trps; + MONS_INSTANCE *mons; TR_CFGWATCH *cfgwatch; TR_TRPS_EVENTS *events; }; @@ -78,4 +80,8 @@ TRP_RC tr_trpc_initiate(TRPS_INSTANCE *trps, TRP_PEER *peer, struct event *ev); 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 */