Librepo library 1.18.1
C library for downloading linux repository metadata and packages
Loading...
Searching...
No Matches
Library version constatnts and check macros

Macros

#define LR_VERSION_MAJOR   1
 
#define LR_VERSION_MINOR   18
 
#define LR_VERSION_PATCH   1
 
#define LR_VERSION   "1.18.1"
 
#define LR_VERSION_CHECK(major, minor, patch)
 

Detailed Description

Macro Definition Documentation

◆ LR_VERSION

#define LR_VERSION   "1.18.1"

Version string

Definition at line 36 of file version.h.

◆ LR_VERSION_CHECK

#define LR_VERSION_CHECK (   major,
  minor,
  patch 
)
Value:
(LR_VERSION_MAJOR > (major) || \
(LR_VERSION_MAJOR == (major) && LR_VERSION_MINOR > (minor)) || \
(LR_VERSION_MAJOR == (major) && LR_VERSION_MINOR == (minor) && \
LR_VERSION_PATCH >= (patch)))
#define LR_VERSION_PATCH
Definition version.h:35
#define LR_VERSION_MAJOR
Definition version.h:33
#define LR_VERSION_MINOR
Definition version.h:34

Macro for version check.

Parameters
majorMajor version
minorMinor version
patchPatch version
Returns
True if current Librepo version is higher or equal

Definition at line 44 of file version.h.

◆ LR_VERSION_MAJOR

#define LR_VERSION_MAJOR   1

Major Librepo version

Definition at line 33 of file version.h.

◆ LR_VERSION_MINOR

#define LR_VERSION_MINOR   18

Minor Librepo version

Definition at line 34 of file version.h.

◆ LR_VERSION_PATCH

#define LR_VERSION_PATCH   1

Patch Librepo version

Definition at line 35 of file version.h.