/usr/include/gexiv2/gexiv2-version.h is in libgexiv2-dev 0.10.8-1.
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 33 34 35 36 37 38 39 40 41 42 43 | /*
* gexiv2-version.h
*
* This is free software. See COPYING for details.
*/
#ifndef __GEXIV2_VERSION_H__
#define __GEXIV2_VERSION_H__
#include <glib-object.h>
G_BEGIN_DECLS
#define GEXIV2_MAJOR_VERSION 0
#define GEXIV2_MINOR_VERSION 10
#define GEXIV2_MICRO_VERSION 8
/**
* GEXIV2_CHECK_VERSION:
* @major: the major version to check for
* @minor: the minor version to check for
* @micro: the micro version to check for
*
* Returns: TRUE if the gexiv2 library version is greater than or equal to the supplied version
* requirement.
*/
#define GEXIV2_CHECK_VERSION(major, minor, micro) \
(GEXIV2_MAJOR_VERSION > (major) || \
(GEXIV2_MAJOR_VERSION == (major) && GEXIV2_MINOR_VERSION > (minor)) || \
(GEXIV2_MAJOR_VERSION == (major) && GEXIV2_MINOR_VERSION == (minor) && \
GEXIV2_MICRO_VERSION >= (micro)))
/**
* gexiv2_get_version:
*
* Returns: The gexiv2 library's version number as a formatted decimal XXYYZZ, where XX is the
* major version, YY is the minor version, and ZZ is the micro version. For example, version
* 0.6.1 will be returned as 000601.
*/
gint gexiv2_get_version (void);
G_END_DECLS
#endif
|