tlsrpt_finish_delivery_request - finishes the delivery request
Contents
Description
The tlsrpt_finish_delivery_request function finishes the delivery request. tlsrpt_finish_delivery_request
cleans up the ressources used by the delivery request dr and if no errors have occured sends it as a
datagram to the TLSRPT collectd. It deallocates the struct tlsrpt_dr_t and sets *pdr to NULL.
Name
tlsrpt_finish_delivery_request - finishes the delivery request
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
tlsrpt_init_delivery_request(3), tlsrpt_cancel_delivery_request(3), tlsrpt_strerror(3), tlsrpt_error_code_is_internal(3)
Synopsis
#include <tlsrpt.h>
int tlsrpt_finish_delivery_request(struct tlsrpt_dr_t** pdr)
