Back to index

openldap  2.4.31
Defines
Version Macros
Public API
Collaboration diagram for Version Macros:

Defines

#define MDB_VERSION_MAJOR   0
 Library major version.
#define MDB_VERSION_MINOR   9
 Library minor version.
#define MDB_VERSION_PATCH   0
 Library patch version.
#define MDB_VERINT(a, b, c)   (((a) << 24) | ((b) << 16) | (c))
 Combine args a,b,c into a single integer for easy version comparisons.
#define MDB_VERSION_FULL   MDB_VERINT(MDB_VERSION_MAJOR,MDB_VERSION_MINOR,MDB_VERSION_PATCH)
 The full library version as a single integer.
#define MDB_VERSION_DATE   "September 1, 2011"
 The release date of this library version.
#define MDB_VERSTR(a, b, c, d)   "MDB " #a "." #b "." #c ": (" #d ")"
 A stringifier for the version info.
#define MDB_VERFOO(a, b, c, d)   MDB_VERSTR(a,b,c,d)
 A helper for the stringifier macro.
#define MDB_VERSION_STRING   MDB_VERFOO(MDB_VERSION_MAJOR,MDB_VERSION_MINOR,MDB_VERSION_PATCH,MDB_VERSION_DATE)
 The full library version as a C string.

Define Documentation

#define MDB_VERFOO (   a,
  b,
  c,
 
)    MDB_VERSTR(a,b,c,d)

A helper for the stringifier macro.

Definition at line 95 of file mdb.h.

#define MDB_VERINT (   a,
  b,
  c 
)    (((a) << 24) | ((b) << 16) | (c))

Combine args a,b,c into a single integer for easy version comparisons.

Definition at line 82 of file mdb.h.

#define MDB_VERSION_DATE   "September 1, 2011"

The release date of this library version.

Definition at line 89 of file mdb.h.

The full library version as a single integer.

Definition at line 85 of file mdb.h.

#define MDB_VERSION_MAJOR   0

Library major version.

Definition at line 75 of file mdb.h.

#define MDB_VERSION_MINOR   9

Library minor version.

Definition at line 77 of file mdb.h.

#define MDB_VERSION_PATCH   0

Library patch version.

Definition at line 79 of file mdb.h.

The full library version as a C string.

Definition at line 98 of file mdb.h.

#define MDB_VERSTR (   a,
  b,
  c,
 
)    "MDB " #a "." #b "." #c ": (" #d ")"

A stringifier for the version info.

Definition at line 92 of file mdb.h.