1 | https://spdx.org/licenses/BSD-2-Clause.html |
---|
2 | |
---|
3 | This license file serves as a template for the license header in files. |
---|
4 | |
---|
5 | You are the copyright holder. Copy the comment below the top of the file in |
---|
6 | which you want to use this license for your contribution. Replace the |
---|
7 | <FIRST YEAR> placeholder with the year of your first substantial contribution |
---|
8 | to this file. Update the <LAST YEAR> with the year of your last substantial |
---|
9 | contribution to this file. If the first and last years are the same, then |
---|
10 | remove the <LAST YEAR> placeholder with the comma. Replace the |
---|
11 | <COPYRIGHT HOLDER> placeholder with your name. In case you are a real person, |
---|
12 | then use the following format for <COPYRIGHT HOLDER>: |
---|
13 | |
---|
14 | <FIRST NAME> <MIDDLE NAMES> <LAST NAME> |
---|
15 | |
---|
16 | The <FIRST NAME> is your first name (also known as given name), the |
---|
17 | <MIDDLE NAMES> are your optional middle names, the <LAST NAME> is your last |
---|
18 | name (also known as family name). |
---|
19 | |
---|
20 | If more than one copyright holder exists for a file, then sort the copyright |
---|
21 | lines by the first year (earlier years are below later years) followed by the |
---|
22 | copyright holder in alphabetical order (A is above B). |
---|
23 | |
---|
24 | You must not alter anything else in the license comment. |
---|
25 | |
---|
26 | /* |
---|
27 | * SPDX-License-Identifier: BSD-2-Clause |
---|
28 | * |
---|
29 | * Copyright (C) <FIRST YEAR>, <LAST YEAR> <COPYRIGHT HOLDER> |
---|
30 | * |
---|
31 | * Redistribution and use in source and binary forms, with or without |
---|
32 | * modification, are permitted provided that the following conditions |
---|
33 | * are met: |
---|
34 | * 1. Redistributions of source code must retain the above copyright |
---|
35 | * notice, this list of conditions and the following disclaimer. |
---|
36 | * 2. Redistributions in binary form must reproduce the above copyright |
---|
37 | * notice, this list of conditions and the following disclaimer in the |
---|
38 | * documentation and/or other materials provided with the distribution. |
---|
39 | * |
---|
40 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
---|
41 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
---|
42 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
---|
43 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE |
---|
44 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
---|
45 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
---|
46 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
---|
47 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
---|
48 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
---|
49 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
---|
50 | * POSSIBILITY OF SUCH DAMAGE. |
---|
51 | */ |
---|