Created SILC GIT repository.
[silc.git] / includes / silcversion.h.in
1 /*
2
3   silcversion.h
4
5   Author: Pekka Riikonen <priikone@silcnet.org>
6
7   Copyright (C) 1997 - 2008 Pekka Riikonen
8
9   This program is free software; you can redistribute it and/or modify
10   it under the terms of the GNU General Public License as published by
11   the Free Software Foundation; version 2 of the License.
12
13   This program is distributed in the hope that it will be useful,
14   but WITHOUT ANY WARRANTY; without even the implied warranty of
15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16   GNU General Public License for more details.
17
18 */
19
20 #ifndef SILCVERSION_H
21 #define SILCVERSION_H
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26
27 /* Version check macro.  Use this to check that package is of specific
28    version compile time.  Use the __SILC_XXX_VERSION below in comparison. */
29 #ifndef SILC_VERSION
30 #define SILC_VERSION(a, b, c) (((a) << 24) + ((b) << 16) + ((c) << 8)
31 #endif /* !SILC_VERSION */
32 @__SILC_PACKAGE_VERSION@
33
34 #define SILC_VERSION_STRING "@VERSION@"
35 #define SILC_DIST_VERSION_STRING "@VERSION@"
36 #define SILC_PROTOCOL_VERSION_STRING "SILC-1.2-@VERSION@ @PACKAGE@"
37 #define SILC_NAME "SILC @PACKAGE_NAME@"
38
39 /* SILC Protocol version number */
40 #define SILC_PROTOCOL_VERSION_CURRENT 12
41
42 /* SILC version string */
43 #define silc_version SILC_VERSION_STRING
44 #define silc_dist_version SILC_DIST_VERSION_STRING
45 #define silc_version_string SILC_PROTOCOL_VERSION_STRING
46 #define silc_name SILC_NAME
47 #define silc_fullname "Secure Internet Live Conferencing"
48
49 #ifdef __cplusplus
50 }
51 #endif
52
53 #endif /* SILCVERSION_H */