Yingdi Yu | 40cd1c3 | 2014-04-17 15:02:17 -0700 | [diff] [blame] | 1 | Requirements |
Vince Lehman | c2e51f6 | 2015-01-20 15:03:11 -0600 | [diff] [blame] | 2 | ------------ |
Yingdi Yu | 40cd1c3 | 2014-04-17 15:02:17 -0700 | [diff] [blame] | 3 | |
Vince Lehman | c2e51f6 | 2015-01-20 15:03:11 -0600 | [diff] [blame] | 4 | Contributions to NLSR must be licensed under GPL 3.0 or compatible license. If you are |
| 5 | choosing GPL 3.0, please use the following license boilerplate in all `.hpp` and `.cpp` |
| 6 | files: |
| 7 | |
| 8 | Include the following header in all `.hpp` and `.cpp` files: |
Yingdi Yu | 40cd1c3 | 2014-04-17 15:02:17 -0700 | [diff] [blame] | 9 | |
| 10 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
| 11 | /** |
Vince Lehman | c2e51f6 | 2015-01-20 15:03:11 -0600 | [diff] [blame] | 12 | * Copyright (c) [Year(s)], [Copyright Holder(s)]. |
Yingdi Yu | 40cd1c3 | 2014-04-17 15:02:17 -0700 | [diff] [blame] | 13 | * |
| 14 | * This file is part of NLSR (Named-data Link State Routing). |
| 15 | * See AUTHORS.md for complete list of NLSR authors and contributors. |
| 16 | * |
| 17 | * NLSR is free software: you can redistribute it and/or modify it under the terms |
| 18 | * of the GNU General Public License as published by the Free Software Foundation, |
| 19 | * either version 3 of the License, or (at your option) any later version. |
| 20 | * |
| 21 | * NLSR is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
| 22 | * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR |
| 23 | * PURPOSE. See the GNU General Public License for more details. |
| 24 | * |
| 25 | * You should have received a copy of the GNU General Public License along with |
| 26 | * NLSR, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>. |
Yingdi Yu | 40cd1c3 | 2014-04-17 15:02:17 -0700 | [diff] [blame] | 27 | **/ |
| 28 | |
Vince Lehman | c2e51f6 | 2015-01-20 15:03:11 -0600 | [diff] [blame] | 29 | If you are affiliated with an NSF-supported NDN project institution, |
| 30 | please use the [NDN Team License Boilerplate] |
| 31 | (http://redmine.named-data.net/projects/nlsr/wiki/NDN_Team_License_Boilerplate_(NLSR)). |
| 32 | |
Yingdi Yu | 40cd1c3 | 2014-04-17 15:02:17 -0700 | [diff] [blame] | 33 | Recommendations |
| 34 | --------------- |
| 35 | |
| 36 | NSLR code is subject to the code style, defined here: |
| 37 | http://redmine.named-data.net/projects/nfd/wiki/CodeStyle |