tlsrpt_add_mx_host_pattern(3)

tlsrpt_add_mx_host_pattern3

Adds a mx host pattern to the current policy

Usage

#include <tlsrpt.h>

int tlsrpt_add_mx_host_pattern(struct tlsrpt_dr_t* dr, const char* mx_host_pattern)

Overview

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.

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.

Releases

2 releases since Debian 13 (Trixie); the text changed 1 time.

  1. 13
  2. Arch

Author

Boris Lohner

From libtlsrpt 0.5.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.