Skip to main content
  • Home
  • login
  • Browse the archive

    swh mirror partner logo
swh logo
SoftwareHeritage
Software
Heritage
Mirror
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • b9c4e57
  • /
  • OSSL_DEPRECATED.pod
Raw File
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge Iframe embedding
swh:1:cnt:8370d60f18fbc80594199ed1ff81fc394ae52ab8
directory badge Iframe embedding
swh:1:dir:b9c4e57a9a6005b1c786950bf35eacad3f4ecac9
OSSL_DEPRECATED.pod
=pod

=head1 NAME

OSSL_DEPRECATED, OSSL_DEPRECATED_FOR - General deprecation macros

=head1 SYNOPSIS

 #include <openssl/macros.h>

 #define OSSL_DEPRECATED(since)
 #define OSSL_DEPRECATED_FOR(since, msg)

=head1 DESCRIPTION

OSSL_DEPRECATED() implements the deprecated attribute if the compiler
supports it, otherwise it expands to nothing.  It takes one argument
I<since> that should be set to the OpenSSL version where the symbol was
deprecated, and will be displayed with the deprecation warning message,
for compilers that support user specified deprecation messages.

OSSL_DEPRECATED_FOR() does the same as OSSL_DEPRECATED(), but also takes a
second argument I<msg>, which is an additional text messages to be displayed
with the deprecation warning along with the OpenSSL version number, for
compilers that support user specified deprecation messages.

These macros are used to define the version specific deprecation macros
described in L<deprecation(7)>.

=begin comment

[RETURN VALUES isn't relevant for these macros, but find-doc-nits demands
the presence of this section]

=head1 RETURN VALUES

[podchecker doesn't like empty sections]

=end comment

=head1 SEE ALSO

L<deprecation(7)>

=head1 COPYRIGHT

Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (the "License").  You may not use
this file except in compliance with the License.  You can obtain a copy
in the file LICENSE in the source distribution or at
L<https://www.openssl.org/source/license.html>.

=cut

ENEA — Copyright (C), ENEA. License: GNU AGPLv3+.
Legal notes  ::  JavaScript license information ::  Web API

back to top