Fix documentation comment

Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
Erik Boasson 2020-05-11 14:13:06 +02:00 committed by eboasson
parent 0b6ea79469
commit 659e7dc446

View file

@ -485,22 +485,15 @@ bool q_omg_security_is_remote_rtps_protected(const struct proxy_participant *pro
void set_proxy_participant_security_info(struct proxy_participant *proxypp, const ddsi_plist_t *plist); void set_proxy_participant_security_info(struct proxy_participant *proxypp, const ddsi_plist_t *plist);
/** /**
* @brief Check if the participant and the proxy participant * @brief Determine if the messages, related to the given remote
* have compatible security info settings. * entity, are RTPS protected or not.
*
* Associated with a secure participant is the ParticipantSecurityInfo parameter.
* This parameter contains the setting of the security attributes and the associated
* plugin security attributes of the secure participant.
* This function will check if the received ParticipantSecurityInfo parameter is
* compatible with the local ParticipantSecurityInfo parameter.
* *
* @param[in] pp The participant. * @param[in] pp The participant.
* @param[in] proxypp The proxy participant. * @param[in] entityid ID of the entity to check.
* *
* @returns bool * @returns bool
* @retval true The participant and the proxy participant have compatible * @retval true The entity messages are RTPS protected.
* security info settings. * @retval false The entity messages are not RTPS protected.
* @retval false Otherwise.
*/ */
bool q_omg_security_is_local_rtps_protected(const struct participant *pp, ddsi_entityid_t entityid); bool q_omg_security_is_local_rtps_protected(const struct participant *pp, ddsi_entityid_t entityid);