1 /*             ----> DO NOT REMOVE THE FOLLOWING NOTICE <----
2  *
3  *                 Copyright (c) 2014-2015 Datalight, Inc.
4  *                     All Rights Reserved Worldwide.
5  *
6  *  This program is free software; you can redistribute it and/or modify
7  *  it under the terms of the GNU General Public License as published by
8  *  the Free Software Foundation; use version 2 of the License.
9  *
10  *  This program is distributed in the hope that it will be useful,
11  *  but "AS-IS," WITHOUT ANY WARRANTY; without even the implied warranty
12  *  of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU General Public License for more details.
14  *
15  *  You should have received a copy of the GNU General Public License along
16  *  with this program; if not, write to the Free Software Foundation, Inc.,
17  *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18  */
19 
20 /*  Businesses and individuals that for commercial or other reasons cannot
21  *  comply with the terms of the GPLv2 license may obtain a commercial license
22  *  before incorporating Reliance Edge into proprietary software for
23  *  distribution in any form.  Visit http://www.datalight.com/reliance-edge for
24  *  more information.
25  */
26 
27 /** @file
28  *  @brief Macros for version numbers, build number, and product information.
29  */
30 #ifndef REDVER_H
31 #define REDVER_H
32 
33 
34 /** @brief Consecutive number assigned to each automated build.
35  *
36  *  <!-- This macro is updated automatically: do not edit! -->
37  */
38 #define RED_BUILD_NUMBER      "700"
39 
40 #define RED_KIT_GPL           0U /* Open source GPL kit. */
41 #define RED_KIT_COMMERCIAL    1U /* Commercially-licensed kit. */
42 #define RED_KIT_SANDBOX       2U /* Not a kit: developer sandbox. */
43 
44 /** @brief Indicates the Reliance Edge kit.
45  *
46  *  <!-- This macro is updated automatically: do not edit! -->
47  */
48 #define RED_KIT               RED_KIT_GPL
49 
50 
51 /** @brief Version number to display in output.
52  */
53 #define RED_VERSION                "v2.0"
54 
55 /** @brief Version number in hex.
56  *
57  *  The most significant byte is the major version number, etc.
58  */
59 #define RED_VERSION_VAL            0x02000000U
60 
61 /** @brief On-disk version number.
62  *
63  *  This is incremented only when the on-disk layout is updated in such a way
64  *  which is incompatible with previously released versions of the file system.
65  */
66 #define RED_DISK_LAYOUT_VERSION    1U
67 
68 
69 /** @brief Base name of the file system product.
70  */
71 #define RED_PRODUCT_BASE_NAME    "Reliance Edge"
72 
73 
74 /*  Specifies whether the product is in alpha stage, beta stage, or neither.
75  */
76 #if 0
77     #if 0
78         #define ALPHABETA    " (Alpha)"
79     #else
80         #define ALPHABETA    " (Beta)"
81     #endif
82 #else
83     #define ALPHABETA        ""
84 #endif
85 
86 /** @brief Full product name and version.
87  */
88 #define RED_PRODUCT_NAME    "Datalight " RED_PRODUCT_BASE_NAME " " RED_VERSION " Build " RED_BUILD_NUMBER ALPHABETA
89 
90 
91 /** @brief Product copyright.
92  */
93 #define RED_PRODUCT_LEGAL    "Copyright (c) 2014-2017 Datalight, Inc.  All Rights Reserved Worldwide."
94 
95 
96 /** @brief Product patents.
97  */
98 #define RED_PRODUCT_PATENT    "Patents:  US#7284101."
99 
100 
101 /** @brief Product edition.
102  */
103 #if RED_KIT == RED_KIT_GPL
104     #define RED_PRODUCT_EDITION    "Open-Source GPLv2 Edition -- Compiled " __DATE__ " at " __TIME__
105 #elif RED_KIT == RED_KIT_COMMERCIAL
106     #define RED_PRODUCT_EDITION    "Commercial Edition -- Compiled " __DATE__ " at " __TIME__
107 #else
108     #define RED_PRODUCT_EDITION    "Developer Sandbox -- Compiled " __DATE__ " at " __TIME__
109 #endif
110 
111 
112 #endif /* ifndef REDVER_H */
113