Commit 013228a2 authored by Geir Istad's avatar Geir Istad

include/srtp.h: Apply clang-format

parent fc8a6081
...@@ -1205,9 +1205,9 @@ typedef enum { ...@@ -1205,9 +1205,9 @@ typedef enum {
* - srtp_err_status_bad_param the profile is not supported * - srtp_err_status_bad_param the profile is not supported
* *
*/ */
srtp_err_status_t srtp_err_status_t srtp_crypto_policy_set_from_profile_for_rtp(
srtp_crypto_policy_set_from_profile_for_rtp(srtp_crypto_policy_t *policy, srtp_crypto_policy_t *policy,
srtp_profile_t profile); srtp_profile_t profile);
/** /**
* @brief srtp_crypto_policy_set_from_profile_for_rtcp() sets a crypto policy * @brief srtp_crypto_policy_set_from_profile_for_rtcp() sets a crypto policy
...@@ -1232,9 +1232,9 @@ srtp_crypto_policy_set_from_profile_for_rtp(srtp_crypto_policy_t *policy, ...@@ -1232,9 +1232,9 @@ srtp_crypto_policy_set_from_profile_for_rtp(srtp_crypto_policy_t *policy,
* - srtp_err_status_bad_param the profile is not supported * - srtp_err_status_bad_param the profile is not supported
* *
*/ */
srtp_err_status_t srtp_err_status_t srtp_crypto_policy_set_from_profile_for_rtcp(
srtp_crypto_policy_set_from_profile_for_rtcp(srtp_crypto_policy_t *policy, srtp_crypto_policy_t *policy,
srtp_profile_t profile); srtp_profile_t profile);
/** /**
* @brief returns the master key length for a given SRTP profile * @brief returns the master key length for a given SRTP profile
...@@ -1322,8 +1322,9 @@ void srtp_append_salt_to_key(unsigned char *key, ...@@ -1322,8 +1322,9 @@ void srtp_append_salt_to_key(unsigned char *key,
* - [other] if there was a failure in * - [other] if there was a failure in
* the cryptographic mechanisms. * the cryptographic mechanisms.
*/ */
srtp_err_status_t srtp_err_status_t srtp_protect_rtcp(srtp_t ctx,
srtp_protect_rtcp(srtp_t ctx, void *rtcp_hdr, int *pkt_octet_len); void *rtcp_hdr,
int *pkt_octet_len);
/** /**
* @brief srtp_protect_rtcp_mki() is the Secure RTCP sender-side packet * @brief srtp_protect_rtcp_mki() is the Secure RTCP sender-side packet
...@@ -1414,8 +1415,9 @@ srtp_err_status_t srtp_protect_rtcp_mki(srtp_t ctx, ...@@ -1414,8 +1415,9 @@ srtp_err_status_t srtp_protect_rtcp_mki(srtp_t ctx,
* - [other] if there has been an error in the cryptographic mechanisms. * - [other] if there has been an error in the cryptographic mechanisms.
* *
*/ */
srtp_err_status_t srtp_err_status_t srtp_unprotect_rtcp(srtp_t ctx,
srtp_unprotect_rtcp(srtp_t ctx, void *srtcp_hdr, int *pkt_octet_len); void *srtcp_hdr,
int *pkt_octet_len);
/** /**
* @brief srtp_unprotect_rtcp() is the Secure RTCP receiver-side packet * @brief srtp_unprotect_rtcp() is the Secure RTCP receiver-side packet
...@@ -1722,8 +1724,9 @@ srtp_err_status_t srtp_get_protect_rtcp_trailer_length(srtp_t session, ...@@ -1722,8 +1724,9 @@ srtp_err_status_t srtp_get_protect_rtcp_trailer_length(srtp_t session,
* stream found * stream found
* *
*/ */
srtp_err_status_t srtp_err_status_t srtp_set_stream_roc(srtp_t session,
srtp_set_stream_roc(srtp_t session, uint32_t ssrc, uint32_t roc); uint32_t ssrc,
uint32_t roc);
/** /**
* @brief srtp_get_stream_roc(session, ssrc, roc) * @brief srtp_get_stream_roc(session, ssrc, roc)
...@@ -1734,8 +1737,9 @@ srtp_set_stream_roc(srtp_t session, uint32_t ssrc, uint32_t roc); ...@@ -1734,8 +1737,9 @@ srtp_set_stream_roc(srtp_t session, uint32_t ssrc, uint32_t roc);
* stream found * stream found
* *
*/ */
srtp_err_status_t srtp_err_status_t srtp_get_stream_roc(srtp_t session,
srtp_get_stream_roc(srtp_t session, uint32_t ssrc, uint32_t *roc); uint32_t ssrc,
uint32_t *roc);
/** /**
* @} * @}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment