/usr/include/u2f-host/u2f-host-version.h is in libu2f-host-dev 1.1.4-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 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | /*
Copyright (C) 2013-2015 Yubico AB
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1, or (at your option) any
later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef U2F_HOST_VERSION_H
#define U2F_HOST_VERSION_H
#ifdef __cplusplus
extern "C"
{
#endif
/**
* U2FH_VERSION_STRING
*
* Pre-processor symbol with a string that describe the header file
* version number. Used together with u2fh_check_version() to verify
* header file and run-time library consistency.
*/
#define U2FH_VERSION_STRING "1.1.4"
/**
* U2FH_VERSION_NUMBER
*
* Pre-processor symbol with a hexadecimal value describing the header
* file version number. For example, when the header version is 1.2.3
* this symbol will have the value 0x01020300. The last two digits
* are only used between public releases, and will otherwise be 00.
*/
#define U2FH_VERSION_NUMBER 0x010104
/**
* U2FH_VERSION_MAJOR
*
* Pre-processor symbol with a decimal value that describe the major
* level of the header file version number. For example, when the
* header version is 1.2.3 this symbol will be 1.
*/
#define U2FH_VERSION_MAJOR 1
/**
* U2FH_VERSION_MINOR
*
* Pre-processor symbol with a decimal value that describe the minor
* level of the header file version number. For example, when the
* header version is 1.2.3 this symbol will be 2.
*/
#define U2FH_VERSION_MINOR 1
/**
* U2FH_VERSION_PATCH
*
* Pre-processor symbol with a decimal value that describe the patch
* level of the header file version number. For example, when the
* header version is 1.2.3 this symbol will be 3.
*/
#define U2FH_VERSION_PATCH 4
const char *u2fh_check_version (const char *req_version);
#ifdef __cplusplus
}
#endif
#endif
|