X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=tr%2Ftr_trp.c;fp=tr%2Ftr_trp.c;h=5ad734d18733f02ba5ed52269dd029a25c74da2c;hb=cda9bb642a88246313649e481c761602f874667d;hp=2b93969d1a2d644729a34e0c510c902c82230f40;hpb=96d1ed78da99a3e5da24c25158ef24136e4789f8;p=trust_router.git diff --git a/tr/tr_trp.c b/tr/tr_trp.c index 2b93969..5ad734d 100644 --- a/tr/tr_trp.c +++ b/tr/tr_trp.c @@ -237,6 +237,15 @@ static void tr_trps_print_route_table(TRPS_INSTANCE *trps, FILE *f) } } +/** + * Event handler to process TRP messages from connection threads. These + * are added to the message queue (mq) in tr_trps_msg_handler(), which + * runs in the other threads. + * + * @param socket Ignored + * @param event Ignored + * @param arg Pointer to the TRPS_INSTANCE + */ static void tr_trps_process_mq(int socket, short event, void *arg) { TRPS_INSTANCE *trps=talloc_get_type_abort(arg, TRPS_INSTANCE);