]> git.saurik.com Git - apt.git/blame - apt-pkg/version.h
CDROM debug option
[apt.git] / apt-pkg / version.h
CommitLineData
578bfd0a
AL
1// -*- mode: cpp; mode: fold -*-
2// Description /*{{{*/
fb0ee66e 3// $Id: version.h,v 1.5 1999/04/19 06:03:09 jgg Exp $
578bfd0a
AL
4/* ######################################################################
5
6fc33863 6 Version - Version comparison routines
578bfd0a 7
6fc33863
AL
8 These routines provide some means to compare versions and check
9 dependencies.
578bfd0a
AL
10
11 ##################################################################### */
12 /*}}}*/
13// Header section: pkglib
14#ifndef PKGLIB_VERSION_H
15#define PKGLIB_VERSION_H
16
6c139d6e 17#ifdef __GNUG__
094a497d 18#pragma interface "apt-pkg/version.h"
6c139d6e
AL
19#endif
20
578bfd0a
AL
21#include <string>
22
578bfd0a
AL
23int pkgVersionCompare(const char *A, const char *B);
24int pkgVersionCompare(const char *A, const char *AEnd, const char *B,
25 const char *BEnd);
26int pkgVersionCompare(string A,string B);
27bool pkgCheckDep(const char *DepVer,const char *PkgVer,int Op);
fb0ee66e 28string pkgBaseVersion(const char *Ver);
578bfd0a
AL
29
30#endif