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_mx_host_pattern - adds a MX host pattern to the current policy

Author(S)

BorisLohner
           Author(s).

tlsrpt_add_mx_host_pattern                         2024-11-06                      TLSRPT_ADD_MX_HOST_PATTERN(3)

Description

       The tlsrpt_add_mx_host_pattern function adds a MX host pattern to the current policy. Multiple MX host
       patterns can be added within a policy.

Name

       tlsrpt_add_mx_host_pattern - adds a MX host pattern to the current policy

Return Value

       The tlsrpt_add_mx_host_pattern 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_mx_host_pattern(struct tlsrpt_dr_t* dr, const char* mx_host_pattern)

See Also