---
name: "tlsrpt_finish_delivery_request"
section: "3"
platform: "linux"
package: "libtlsrpt"
version: "0.5.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/tlsrpt_finish_delivery_request"
---

# tlsrpt\_finish\_delivery\_request(3)

finishes the delivery request

## NAME

tlsrpt\_finish\_delivery\_request - finishes the delivery request

## SYNOPSIS

\#include \<tlsrpt.h\>

int tlsrpt\_finish\_delivery\_request(struct tlsrpt\_dr\_t\*\* pdr)

## DESCRIPTION

The `tlsrpt_finish_delivery_request` function finishes the delivery request. `tlsrpt_finish_delivery_request` cleans up the resources used by the delivery request `dr` and if no errors have occurred sends it as a datagram to the TLSRPT collectd. It deallocates the `struct tlsrpt_dr_t` and sets \*pdr to `NULL`.

## RETURN VALUE

The tlsrpt\_finish\_delivery\_request 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

man:tlsrpt\_init\_delivery\_request\[3\], man:tlsrpt\_cancel\_delivery\_request\[3\], man:tlsrpt\_strerror\[3\], man:tlsrpt\_error\_code\_is\_internal\[3\]

## AUTHOR

Boris Lohner
