]>
git.saurik.com Git - apt.git/blob - apt-pkg/version.h
1 // -*- mode: cpp; mode: fold -*-
3 // $Id: version.h,v 1.4 1998/07/19 21:24:19 jgg Exp $
4 /* ######################################################################
6 Version - Version comparison routines
8 These routines provide some means to compare versions and check
11 ##################################################################### */
13 // Header section: pkglib
14 #ifndef PKGLIB_VERSION_H
15 #define PKGLIB_VERSION_H
18 #pragma interface "apt-pkg/version.h"
23 int pkgVersionCompare(const char *A
, const char *B
);
24 int pkgVersionCompare(const char *A
, const char *AEnd
, const char *B
,
26 int pkgVersionCompare(string A
,string B
);
27 bool pkgCheckDep(const char *DepVer
,const char *PkgVer
,int Op
);