dpkg 1.21.11
Data Fields
dpkg_version Struct Reference

Data structure representing a Debian version. More...

#include <version.h>

Data Fields

unsigned int epoch
 The epoch. More...
 
const char * version
 The upstream part of the version. More...
 
const char * revision
 The Debian revision part of the version. More...
 

Detailed Description

Data structure representing a Debian version.

See also
deb-version(5)

Field Documentation

◆ epoch

unsigned int dpkg_version::epoch

The epoch.

It will be zero if no epoch is present.

Referenced by dpkg_version_compare().

◆ revision

const char* dpkg_version::revision

The Debian revision part of the version.

◆ version

const char* dpkg_version::version

The upstream part of the version.


The documentation for this struct was generated from the following file: