home | help
TLSRPT_IN...Y_REQUEST(3)  tlsrpt_init_delivery_request	TLSRPT_IN...Y_REQUEST(3)

NAME
     tlsrpt_init_delivery_request  -  allocates  and initializes the `struct tl-
     srpt_dr_t` object

SYNOPSIS
     #include <tlsrpt.h>

     int  tlsrpt_init_delivery_request(struct  tlsrpt_dr_t**  pdr,  struct   tl-
     srpt_connection_t* con, const char* domainname, const char* policyrecord)

DESCRIPTION
     The  tlsrpt_init_delivery_request	function  allocates  and initializes the
     struct tlsrpt_dr_t object. The resources it  allocates  must  be  freed  by
     calling either tlsrpt_finish_delivery_request or tlsrpt_cancel_delivery_re-
     quest.

RETURN VALUE
     The  tlsrpt_init_delivery_request	function returns 0 on success and a com-
     bined error code on failure. The combined error code can be  analyzed  with
     the tlsrpt_strerror function.

SEE ALSO
     man:tlsrpt_cancel_delivery_request[3],	  man:tlsrpt_finish_delivery_re-
     quest[3], man:tlsrpt_strerror[3], man:tlsrpt_error_code_is_internal[3]

AUTHOR
     Boris Lohner

tlsrpt_init_delivery_request	   2026-08-08		TLSRPT_IN...Y_REQUEST(3)

home | help