'\" t .\" Title: tlsrpt_add_mx_host_pattern .\" Author: Boris Lohner .\" Generator: Asciidoctor 2.0.26 .\" Date: 2026-09-01 .\" Manual: tlsrpt_add_mx_host_pattern .\" Source: tlsrpt_add_mx_host_pattern .\" Language: English .\" .TH "TLSRPT_ADD_MX_HOST_PATTERN" "3" "2026-09-01" "tlsrpt_add_mx_host_pattern" "tlsrpt_add_mx_host_pattern" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 .nh .ad l .de URL \fI\\$2\fP <\\$1>\\$3 .. .als MTO URL .if \n[.g] \{\ . mso www.tmac . am URL . ad l . . . am MTO . ad l . . . LINKSTYLE blue R < > .\} .SH "NAME" tlsrpt_add_mx_host_pattern \- adds a MX host pattern to the current policy .SH "SYNOPSIS" .sp #include .sp int tlsrpt_add_mx_host_pattern(struct tlsrpt_dr_t* dr, const char* mx_host_pattern) .SH "DESCRIPTION" .sp The \f(CRtlsrpt_add_mx_host_pattern\fP function adds a MX host pattern to the current policy. Multiple MX host patterns can be added within a policy. .SH "RETURN VALUE" .sp 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 \fItlsrpt_strerror\fP function. .SH "SEE ALSO" .sp man:tlsrpt_strerror[3], man:tlsrpt_error_code_is_internal[3] .SH "AUTHOR" .sp Boris Lohner