tlsrpt_add_delivery_request_failure(3)

tlsrpt_add_delivery_request_failure3

Adds a failure to the current policy

Usage

#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)

Overview

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 omitted in the datagram.

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.

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.