'\" t .\" Title: tlsrpt_finish_delivery_request .\" Author: Boris Lohner .\" Generator: Asciidoctor 2.0.26 .\" Date: 2026-09-01 .\" Manual: tlsrpt_finish_delivery_request .\" Source: tlsrpt_finish_delivery_request .\" Language: English .\" .TH "TLSRPT_FINISH_DELIVERY_REQUEST" "3" "2026-09-01" "tlsrpt_finish_delivery_request" "tlsrpt_finish_delivery_request" .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_finish_delivery_request \- finishes the delivery request .SH "SYNOPSIS" .sp #include .sp int tlsrpt_finish_delivery_request(struct tlsrpt_dr_t** pdr) .SH "DESCRIPTION" .sp The \f(CRtlsrpt_finish_delivery_request\fP function finishes the delivery request. \f(CRtlsrpt_finish_delivery_request\fP cleans up the resources used by the delivery request \f(CRdr\fP and if no errors have occurred sends it as a datagram to the TLSRPT collectd. It deallocates the \f(CRstruct tlsrpt_dr_t\fP and sets *pdr to \f(CRNULL\fP. .SH "RETURN VALUE" .sp 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 \fItlsrpt_strerror\fP function. .SH "SEE ALSO" .sp man:tlsrpt_init_delivery_request[3], man:tlsrpt_cancel_delivery_request[3], man:tlsrpt_strerror[3], man:tlsrpt_error_code_is_internal[3] .SH "AUTHOR" .sp Boris Lohner