Man page - tlsrpt_close(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)
Package: libtlsrpt0-dev
apt-get install libtlsrpt0-dev
apt-get install libtlsrpt0-dev
Manuals in package:
Documentations in package:
Manual
| TLSRPT_CLOSE(3) | tlsrpt_close | TLSRPT_CLOSE(3) |
NAME
tlsrpt_close - `tlsrpt_close` closes the tlsrpt_connetion_t object
SYNOPSIS
#include <tlsrpt.h>
int tlsrpt_close(struct tlsrpt_connection_t** pcon)
DESCRIPTION
The function tlsrpt_close closes the tlsrpt_connetion_t object. tlsrpt_close closes the socket, resets the destination socket address to all zero bytes, deallocates the struct tlsrpt_connection_t and sets *pcon to NULL.
RETURN VALUE
The tlsrpt_close 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_open(3), tlsrpt_strerror(3), tlsrpt_error_code_is_internal(3)
AUTHOR(S)
Boris Lohner
Author(s).
| 2024-11-06 | tlsrpt_close |