/usr/include/libecap/common/version.h is in libecap3-dev 1.0.1-3.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | /* (C) 2008 The Measurement Factory */
#ifndef LIBECAP__COMMON__VERSION_H
#define LIBECAP__COMMON__VERSION_H
#include <libecap/common/forward.h>
#include <string>
namespace libecap {
// major.minor.micro version holder
class Version {
public:
Version(int majr_ = -1, int minr_ = -1, int micr_ = -1):
majr(majr_), minr(minr_), micr(micr_) {}
bool known() const { return majr >= 0; }
bool operator ==(const Version &v) const { return known() &&
majr == v.majr && minr == v.minr && micr == v.micr; }
bool operator !=(const Version &v) const {
return !(*this == v); }
public:
int majr; // creative spelling due to glibc defining major/minor macros
int minr;
int micr;
};
} // namespace libecap
#endif
|