void ctt_connect (Domain_t *dp, Participant_t *rpp) { CTT_ASSERT (dp); if ((rpp->p_builtins & (1 << EPB_PARTICIPANT_VOL_SEC_W)) != 0) connect_builtin (dp, EPB_PARTICIPANT_VOL_SEC_R, rpp, EPB_PARTICIPANT_VOL_SEC_W); if ((rpp->p_builtins & (1 << EPB_PARTICIPANT_VOL_SEC_R)) != 0) connect_builtin (dp, EPB_PARTICIPANT_VOL_SEC_W, rpp, EPB_PARTICIPANT_VOL_SEC_R); CTT_ASSERT (dp); }
void msg_connect (Domain_t *dp, Participant_t *rpp) { if ((rpp->p_builtins & (1 << EPB_PARTICIPANT_MSG_R)) != 0) connect_builtin (dp, EPB_PARTICIPANT_MSG_W, rpp, EPB_PARTICIPANT_MSG_R); if ((rpp->p_builtins & (1 << EPB_PARTICIPANT_MSG_W)) != 0) connect_builtin (dp, EPB_PARTICIPANT_MSG_R, rpp, EPB_PARTICIPANT_MSG_W); #if defined (DDS_SECURITY) && defined (DDS_NATIVE_SECURITY) if (NATIVE_SECURITY (dp)) { if ((rpp->p_builtins & (1 << EPB_PARTICIPANT_MSG_SEC_R)) != 0) connect_builtin (dp, EPB_PARTICIPANT_MSG_SEC_W, rpp, EPB_PARTICIPANT_MSG_SEC_R); if ((rpp->p_builtins & (1 << EPB_PARTICIPANT_MSG_SEC_W)) != 0) connect_builtin (dp, EPB_PARTICIPANT_MSG_SEC_R, rpp, EPB_PARTICIPANT_MSG_SEC_W); } #endif }