xref: /freebsd/crypto/openssl/doc/man3/ERR_remove_state.pod (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
1e71b7053SJung-uk Kim=pod
2e71b7053SJung-uk Kim
3e71b7053SJung-uk Kim=head1 NAME
4e71b7053SJung-uk Kim
5e71b7053SJung-uk KimERR_remove_thread_state, ERR_remove_state - DEPRECATED
6e71b7053SJung-uk Kim
7e71b7053SJung-uk Kim=head1 SYNOPSIS
8e71b7053SJung-uk Kim
9*b077aed3SPierre ProncheryThe following function has been deprecated since OpenSSL 1.0.0, and can be
10*b077aed3SPierre Proncheryhidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value,
11*b077aed3SPierre Proncherysee L<openssl_user_macros(7)>:
12e71b7053SJung-uk Kim
13e71b7053SJung-uk Kim void ERR_remove_state(unsigned long tid);
14e71b7053SJung-uk Kim
15*b077aed3SPierre ProncheryThe following function has been deprecated since OpenSSL 1.1.0, and can be
16*b077aed3SPierre Proncheryhidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value,
17*b077aed3SPierre Proncherysee L<openssl_user_macros(7)>:
18*b077aed3SPierre Pronchery
19e71b7053SJung-uk Kim void ERR_remove_thread_state(void *tid);
20e71b7053SJung-uk Kim
21e71b7053SJung-uk Kim=head1 DESCRIPTION
22e71b7053SJung-uk Kim
23e71b7053SJung-uk KimERR_remove_state() frees the error queue associated with the specified
24e71b7053SJung-uk Kimthread, identified by B<tid>.
25e71b7053SJung-uk KimERR_remove_thread_state() does the same thing, except the identifier is
26e71b7053SJung-uk Kiman opaque pointer.
27e71b7053SJung-uk Kim
28e71b7053SJung-uk Kim=head1 RETURN VALUES
29e71b7053SJung-uk Kim
30e71b7053SJung-uk KimERR_remove_state() and ERR_remove_thread_state() return no value.
31e71b7053SJung-uk Kim
32e71b7053SJung-uk Kim=head1 SEE ALSO
33e71b7053SJung-uk Kim
34e71b7053SJung-uk KimLL<OPENSSL_init_crypto(3)>
35e71b7053SJung-uk Kim
36e71b7053SJung-uk Kim=head1 HISTORY
37e71b7053SJung-uk Kim
38e71b7053SJung-uk KimERR_remove_state() was deprecated in OpenSSL 1.0.0 and
39e71b7053SJung-uk KimERR_remove_thread_state() was deprecated in OpenSSL 1.1.0; these functions
40e71b7053SJung-uk Kimand should not be used.
41e71b7053SJung-uk Kim
42e71b7053SJung-uk Kim=head1 COPYRIGHT
43e71b7053SJung-uk Kim
44*b077aed3SPierre ProncheryCopyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
45e71b7053SJung-uk Kim
46*b077aed3SPierre ProncheryLicensed under the Apache License 2.0 (the "License").  You may not use
47e71b7053SJung-uk Kimthis file except in compliance with the License.  You can obtain a copy
48e71b7053SJung-uk Kimin the file LICENSE in the source distribution or at
49e71b7053SJung-uk KimL<https://www.openssl.org/source/license.html>.
50e71b7053SJung-uk Kim
51e71b7053SJung-uk Kim=cut
52