Browse code

Adds hardcoded clamav-version.h file to win32 so as to provide the same feature for Windows applications using libclamav.

Micah Snyder authored on 2019/09/11 06:17:26
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,68 @@
0
+/*
1
+ *  Copyright (C) 2019 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
2
+ *
3
+ *  Authors: Micah Snyder
4
+ *
5
+ *  This file is NOT auto-generated and must be manually updated for each release.
6
+ *
7
+ *  This program is free software; you can redistribute it and/or modify
8
+ *  it under the terms of the GNU General Public License version 2 as
9
+ *  published by the Free Software Foundation.
10
+ *
11
+ *  This program is distributed in the hope that it will be useful,
12
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
+ *  GNU General Public License for more details.
15
+ *
16
+ *  You should have received a copy of the GNU General Public License
17
+ *  along with this program; if not, write to the Free Software
18
+ *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
+ *  MA 02110-1301, USA.
20
+ */
21
+
22
+#ifndef CLAMAV_VER_H
23
+#define CLAMAV_VER_H
24
+
25
+/**
26
+ * @macro
27
+ * Version number of the clamav package release
28
+ */
29
+#define CLAMAV_VERSION "0.102.0-rc"
30
+
31
+/**
32
+ * @macro
33
+ * Numerical representation of the version number of the clamav package
34
+ * release. This is a 24 bit number with 8 bits for major number, 8 bits
35
+ * for minor and 8 bits for patch. Version 1.2.3 becomes 0x010203.
36
+ */
37
+#define CLAMAV_VERSION_NUM 0x006600
38
+
39
+/**
40
+ * @macro
41
+ * Version number of the clamav library release
42
+ */
43
+#define LIBCLAMAV_VERSION "9:4:0"
44
+
45
+/**
46
+ * @macro
47
+ * Numerical representation of the version number of the libclamav library
48
+ * release. This is a 24 bit number with 8 bits for major number, 8 bits
49
+ * for minor and 8 bits for patch. Version 1.2.3 becomes 0x010203.
50
+ */
51
+#define LIBCLAMAV_VERSION_NUM 0x090400
52
+
53
+/**
54
+ * @macro
55
+ * Version number of the clamav library release
56
+ */
57
+#define LIBFRESHCLAM_VERSION "2:0:0"
58
+
59
+/**
60
+ * @macro
61
+ * Numerical representation of the version number of the libfreshclam library
62
+ * release. This is a 24 bit number with 8 bits for major number, 8 bits
63
+ * for minor and 8 bits for patch. Version 1.2.3 becomes 0x010203.
64
+ */
65
+#define LIBFRESHCLAM_VERSION_NUM 0x020000
66
+
67
+#endif /* CLAMAV_VER_H */