'\" t .\" Title: tlsrpt_init_delivery_request .\" Author: Boris Lohner .\" Generator: Asciidoctor 1.5.6.1 .\" Date: 2024-11-06 .\" Manual: tlsrpt_init_delivery_request .\" Source: tlsrpt_init_delivery_request .\" Language: English .\" .TH "TLSRPT_INIT_DELIVERY_REQUEST" "3" "2024-11-06" "tlsrpt_init_delivery_request" "tlsrpt_init_delivery_request" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 .nh .ad l .de URL \\$2 \(laURL: \\$1 \(ra\\$3 .. .if \n[.g] .mso www.tmac .LINKSTYLE blue R < > .SH "NAME" tlsrpt_init_delivery_request \- allocates and initializes the `struct tlsrpt_dr_t` object .SH "SYNOPSIS" .sp #include .sp int tlsrpt_init_delivery_request(struct tlsrpt_dr_t** pdr, struct tlsrpt_connection_t* con, const char* domainname, const char* policyrecord) .SH "DESCRIPTION" .sp The \f[CR]tlsrpt_init_delivery_request\fP function allocates and initializes the \f[CR]struct tlsrpt_dr_t\fP object. The resources it allocates must be freed by calling either \f[CR]tlsrpt_finish_delivery_request\fP or \f[CR]tlsrpt_cancel_delivery_request\fP. .SH "RETURN VALUE" .sp The tlsrpt_init_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 \fBtlsrpt_cancel_delivery_request\fP(3), \fBtlsrpt_finish_delivery_request\fP(3), \fBtlsrpt_strerror\fP(3), \fBtlsrpt_error_code_is_internal\fP(3) .SH "AUTHOR(S)" .sp \fBBoris Lohner\fP .RS 4 Author(s). .RE