Building Controls Virtual Test Bed
defines.h
Go to the documentation of this file.
1 
15 #ifndef __DEFINES_H__
16 #define __DEFINES_H__
17 
26 #define BUFFER_LENGTH 1024
27 
33 #define NDBLMAX 1024
34 
37 #define MAINVERSION 2
38 
39 #endif /*__DEFINES_H__*/
40 
41 
42 /*
43 ********************************************************************
44 Copyright Notice
45 ----------------
46 
47 Building Controls Virtual Test Bed (BCVTB) Copyright (c) 2008, The
48 Regents of the University of California, through Lawrence Berkeley
49 National Laboratory (subject to receipt of any required approvals from
50 the U.S. Dept. of Energy). All rights reserved.
51 
52 If you have questions about your rights to use or distribute this
53 software, please contact Berkeley Lab's Technology Transfer Department
54 at TTD@lbl.gov
55 
56 NOTICE. This software was developed under partial funding from the U.S.
57 Department of Energy. As such, the U.S. Government has been granted for
58 itself and others acting on its behalf a paid-up, nonexclusive,
59 irrevocable, worldwide license in the Software to reproduce, prepare
60 derivative works, and perform publicly and display publicly. Beginning
61 five (5) years after the date permission to assert copyright is obtained
62 from the U.S. Department of Energy, and subject to any subsequent five
63 (5) year renewals, the U.S. Government is granted for itself and others
64 acting on its behalf a paid-up, nonexclusive, irrevocable, worldwide
65 license in the Software to reproduce, prepare derivative works,
66 distribute copies to the public, perform publicly and display publicly,
67 and to permit others to do so.
68 
69 
70 Modified BSD License agreement
71 ------------------------------
72 
73 Building Controls Virtual Test Bed (BCVTB) Copyright (c) 2008, The
74 Regents of the University of California, through Lawrence Berkeley
75 National Laboratory (subject to receipt of any required approvals from
76 the U.S. Dept. of Energy). All rights reserved.
77 
78 Redistribution and use in source and binary forms, with or without
79 modification, are permitted provided that the following conditions are met:
80 
81  1. Redistributions of source code must retain the above copyright
82  notice, this list of conditions and the following disclaimer.
83  2. Redistributions in binary form must reproduce the above copyright
84  notice, this list of conditions and the following disclaimer in
85  the documentation and/or other materials provided with the
86  distribution.
87  3. Neither the name of the University of California, Lawrence
88  Berkeley National Laboratory, U.S. Dept. of Energy nor the names
89  of its contributors may be used to endorse or promote products
90  derived from this software without specific prior written permission.
91 
92 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
93 IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
94 TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
95 PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
96 OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
97 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
98 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
99 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
100 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
101 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
102 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
103 
104 You are under no obligation whatsoever to provide any bug fixes,
105 patches, or upgrades to the features, functionality or performance of
106 the source code ("Enhancements") to anyone; however, if you choose to
107 make your Enhancements available either publicly, or directly to
108 Lawrence Berkeley National Laboratory, without imposing a separate
109 written license agreement for such Enhancements, then you hereby grant
110 the following license: a non-exclusive, royalty-free perpetual license
111 to install, use, modify, prepare derivative works, incorporate into
112 other computer software, distribute, and sublicense such enhancements or
113 derivative works thereof, in binary and source code form.
114 
115 ********************************************************************
116 */