Botan  1.11.15
Namespaces | Defines | Functions
src/lib/utils/version.h File Reference
#include <botan/types.h>
#include <string>

Go to the source code of this file.

Namespaces

namespace  Botan

Defines

#define BOTAN_VERSION_CODE
#define BOTAN_VERSION_CODE_FOR(a, b, c)   ((a << 16) | (b << 8) | (c))

Functions

const char * Botan::version_cstr ()
u32bit Botan::version_datestamp ()
u32bit Botan::version_major ()
u32bit Botan::version_minor ()
u32bit Botan::version_patch ()
std::string Botan::version_string ()

Define Documentation

Value:
BOTAN_VERSION_CODE_FOR(BOTAN_VERSION_MAJOR, \
                                                  BOTAN_VERSION_MINOR, \
                                                  BOTAN_VERSION_PATCH)

Compare using BOTAN_VERSION_CODE_FOR, as in # if BOTAN_VERSION_CODE < BOTAN_VERSION_CODE_FOR(1,8,0) # error "Botan version too old" # endif

Definition at line 68 of file version.h.

#define BOTAN_VERSION_CODE_FOR (   a,
  b,
  c 
)    ((a << 16) | (b << 8) | (c))

Definition at line 60 of file version.h.