Botan 3.6.1
Crypto and TLS for C&
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)
 
#define BOTAN_COMPILER_HAS_BUILTIN(x)
 
#define BOTAN_DEPRECATED(msg)
 
#define BOTAN_DEPRECATED_API(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)
 
#define BOTAN_FUTURE_INTERNAL_HEADER(hdr)
 
#define BOTAN_FUZZER_API
 
#define BOTAN_MALLOC_FN
 
#define BOTAN_PUBLIC_API(maj, min)
 
#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)
Value:
0

Definition at line 82 of file compiler.h.

◆ BOTAN_COMPILER_HAS_BUILTIN

#define BOTAN_COMPILER_HAS_BUILTIN ( x)
Value:
0

Definition at line 72 of file compiler.h.

◆ BOTAN_DEPRECATED

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

Definition at line 125 of file compiler.h.

◆ BOTAN_DEPRECATED_API

#define BOTAN_DEPRECATED_API ( msg)
Value:
#define BOTAN_DEPRECATED(msg)
Definition compiler.h:125
#define BOTAN_DLL
Definition build.h:85

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

◆ BOTAN_DIAGNOSTIC_IGNORE_INHERITED_VIA_DOMINANCE

#define BOTAN_DIAGNOSTIC_IGNORE_INHERITED_VIA_DOMINANCE

Definition at line 190 of file compiler.h.

◆ BOTAN_DIAGNOSTIC_POP

◆ BOTAN_DIAGNOSTIC_PUSH

◆ 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)
Value:
#define BOTAN_FUNC_ISA(isa)
Definition compiler.h:92
#define BOTAN_FORCE_INLINE
Definition compiler.h:165

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 )
Value:

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.