Botan 3.3.0
Crypto and TLS for C&
Macros
compiler.h File Reference

Public Header. More...

#include <botan/build.h>

Go to the source code of this file.

Macros

#define BOTAN_COMPILER_ATTRIBUTE(x)
 
#define BOTAN_COMPILER_HAS_ATTRIBUTE(x)   0
 
#define BOTAN_COMPILER_HAS_BUILTIN(x)   0
 
#define BOTAN_DEPRECATED(msg)   [[deprecated(msg)]]
 
#define BOTAN_DEPRECATED_API(msg)   BOTAN_DLL BOTAN_DEPRECATED(msg)
 
#define BOTAN_DEPRECATED_HEADER(hdr)
 
#define BOTAN_DIAGNOSTIC_IGNORE_DEPRECATED_DECLARATIONS
 
#define BOTAN_DIAGNOSTIC_IGNORE_INHERITED_VIA_DOMINANCE
 
#define BOTAN_DIAGNOSTIC_POP
 
#define BOTAN_DIAGNOSTIC_PUSH
 
#define BOTAN_EARLY_INIT(prio)
 
#define BOTAN_FORCE_INLINE   inline
 
#define BOTAN_FUNC_ISA(isa)
 
#define BOTAN_FUNC_ISA_INLINE(isa)   BOTAN_FUNC_ISA(isa) BOTAN_FORCE_INLINE
 
#define BOTAN_FUTURE_INTERNAL_HEADER(hdr)
 
#define BOTAN_FUZZER_API
 
#define BOTAN_MALLOC_FN
 
#define BOTAN_PUBLIC_API(maj, min)   BOTAN_DLL
 
#define BOTAN_TEST_API   BOTAN_DLL
 
#define BOTAN_UNSTABLE_API   BOTAN_DLL
 

Detailed Description

Public Header.

Definition in file compiler.h.

Macro Definition Documentation

◆ BOTAN_COMPILER_ATTRIBUTE

#define BOTAN_COMPILER_ATTRIBUTE ( x)

Definition at line 83 of file compiler.h.

◆ BOTAN_COMPILER_HAS_ATTRIBUTE

#define BOTAN_COMPILER_HAS_ATTRIBUTE ( x)    0

Definition at line 82 of file compiler.h.

◆ BOTAN_COMPILER_HAS_BUILTIN

#define BOTAN_COMPILER_HAS_BUILTIN ( x)    0

Definition at line 72 of file compiler.h.

◆ BOTAN_DEPRECATED

#define BOTAN_DEPRECATED ( msg)    [[deprecated(msg)]]

Definition at line 125 of file compiler.h.

◆ BOTAN_DEPRECATED_API

#define BOTAN_DEPRECATED_API ( msg)    BOTAN_DLL BOTAN_DEPRECATED(msg)

Used to annotate API exports which are public, but are now deprecated and which will be removed in a future major release.

Definition at line 37 of file compiler.h.

◆ BOTAN_DEPRECATED_HEADER

#define BOTAN_DEPRECATED_HEADER ( hdr)

Definition at line 146 of file compiler.h.

◆ BOTAN_DIAGNOSTIC_IGNORE_DEPRECATED_DECLARATIONS

#define BOTAN_DIAGNOSTIC_IGNORE_DEPRECATED_DECLARATIONS

Definition at line 189 of file compiler.h.

◆ BOTAN_DIAGNOSTIC_IGNORE_INHERITED_VIA_DOMINANCE

#define BOTAN_DIAGNOSTIC_IGNORE_INHERITED_VIA_DOMINANCE

Definition at line 190 of file compiler.h.

◆ BOTAN_DIAGNOSTIC_POP

#define BOTAN_DIAGNOSTIC_POP

Definition at line 191 of file compiler.h.

◆ BOTAN_DIAGNOSTIC_PUSH

#define BOTAN_DIAGNOSTIC_PUSH

Definition at line 188 of file compiler.h.

◆ BOTAN_EARLY_INIT

#define BOTAN_EARLY_INIT ( prio)

Definition at line 117 of file compiler.h.

◆ BOTAN_FORCE_INLINE

#define BOTAN_FORCE_INLINE   inline

Definition at line 165 of file compiler.h.

◆ BOTAN_FUNC_ISA

#define BOTAN_FUNC_ISA ( isa)

Definition at line 92 of file compiler.h.

◆ BOTAN_FUNC_ISA_INLINE

#define BOTAN_FUNC_ISA_INLINE ( isa)    BOTAN_FUNC_ISA(isa) BOTAN_FORCE_INLINE

Definition at line 98 of file compiler.h.

◆ BOTAN_FUTURE_INTERNAL_HEADER

#define BOTAN_FUTURE_INTERNAL_HEADER ( hdr)

Definition at line 150 of file compiler.h.

◆ BOTAN_FUZZER_API

#define BOTAN_FUZZER_API

Used to annotate API exports which are exported but only for the purposes of fuzzing. They should not be used by applications and may be removed or changed without notice.

They are only exported if the fuzzers are being built

Definition at line 63 of file compiler.h.

◆ BOTAN_MALLOC_FN

#define BOTAN_MALLOC_FN

Definition at line 108 of file compiler.h.

◆ BOTAN_PUBLIC_API

#define BOTAN_PUBLIC_API ( maj,
min )   BOTAN_DLL

Used to annotate API exports which are public and supported. These APIs will not be broken/removed unless strictly required for functionality or security, and only in new major versions.

Parameters
majThe major version this public API was released in
minThe minor version this public API was released in

Definition at line 31 of file compiler.h.

◆ BOTAN_TEST_API

#define BOTAN_TEST_API   BOTAN_DLL

Used to annotate API exports which are exported but only for the purposes of testing. They should not be used by applications and may be removed or changed without notice.

Definition at line 51 of file compiler.h.

◆ BOTAN_UNSTABLE_API

#define BOTAN_UNSTABLE_API   BOTAN_DLL

Used to annotate API exports which are public and can be used by applications if needed, but which are intentionally not documented, and which may change incompatibly in a future major version.

Definition at line 44 of file compiler.h.