Man page - tlsrpt_cancel_delivery_request(3)
Packages contas this manual
- tlsrpt_finish_policy(3)
- tlsrpt_get_socket(3)
- tlsrpt_error_code_is_internal(3)
- tlsrpt_open(3)
- tlsrpt_add_delivery_request_failure(3)
- tlsrpt_set_blocking(3)
- tlsrpt_add_policy_string(3)
- tlsrpt_errno_from_error_code(3)
- tlsrpt_cancel_delivery_request(3)
- tlsrpt_init_policy(3)
- tlsrpt_set_nonblocking(3)
- tlsrpt_close(3)
- tlsrpt_strerror(3)
- tlsrpt_add_mx_host_pattern(3)
- tlsrpt_finish_delivery_request(3)
- tlsrpt_set_malloc_and_free(3)
- tlsrpt_init_delivery_request(3)
apt-get install libtlsrpt0-dev
Manual
| TLSRPT_CANCEL_DELIVERY_REQUEST(3) | tlsrpt_cancel_delivery_request | TLSRPT_CANCEL_DELIVERY_REQUEST(3) |
NAME
tlsrpt_cancel_delivery_request - marks the delivery request as cancelled
SYNOPSIS
#include <tlsrpt.h>
int tlsrpt_cancel_delivery_request(struct tlsrpt_dr_t** pdr)
DESCRIPTION
The tlsrpt_cancel_delivery_request function marks the delivery request as cancelled. This is done by an internal library "dummy error" TLSRPT_ERR_TLSRPT_CANCELLED which, like all errors, will prevent the delivery request from being sent out. The function then calls tlsrpt_finish_delivery_request, which will do all the clean-up of used ressources.
RETURN VALUE
The tlsrpt_cancel_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_finish_delivery_request(3), tlsrpt_strerror(3), tlsrpt_error_code_is_internal(3)
AUTHOR(S)
Boris Lohner
| 2024-11-06 | tlsrpt_cancel_delivery_request |