dpkg 1.21.11
Functions
version.c File Reference

(9c1413408)

#include <config.h>
#include <compat.h>
#include <dpkg/c-ctype.h>
#include <dpkg/ehandle.h>
#include <dpkg/string.h>
#include <dpkg/version.h>
Include dependency graph for version.c:

Functions

void dpkg_version_blank (struct dpkg_version *version)
 Turn the passed version into an empty version. More...
 
bool dpkg_version_is_informative (const struct dpkg_version *version)
 Test if a version is not empty. More...
 
int dpkg_version_compare (const struct dpkg_version *a, const struct dpkg_version *b)
 Compares two Debian versions. More...
 
bool dpkg_version_relate (const struct dpkg_version *a, enum dpkg_relation rel, const struct dpkg_version *b)
 Check if two versions have a certain relation. More...