logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

tlsrpt_add_delivery_request_failure - adds a failure to the current policy

Author(S)

BorisLohner
           Author(s).

tlsrpt_add_delivery_request_failure                2024-11-06             TLSRPT_ADD_DELIVERY_REQUEST_FAILURE(3)

Description

       The tlsrpt_add_delivery_request_failure function adds a failure to the current policy. Multiple failures
       can be added within a policy.

       Some of the parameters may be NULL and in this case will be ommitted in the datagram.

Name

       tlsrpt_add_delivery_request_failure - adds a failure to the current policy

Return Value

       The tlsrpt_add_delivery_request_failure function returns 0 on success and a combined error code on
       failure. The combined error code can be analyzed with the tlsrpt_strerror function.

See Also

tlsrpt_strerror(3), tlsrpt_error_code_is_internal(3)

Synopsis

       #include <tlsrpt.h>

       int tlsrpt_add_delivery_request_failure(struct tlsrpt_dr_t* dr, tlsrpt_failure_t failure_code, const
       char* sending_mta_ip, const char* receiving_mx_hostname, const char* receiving_mx_helo, const char*
       receiving_ip, const char* additional_information, const char* failure_reason_code)

return

See Also