blob: 060c556b0b49d74c7edb371381668de73e3ed3ea [file] [log] [blame] [view]
Davide Pesavento1b640fd2023-01-04 21:00:05 -05001# Notes for NLSR developers
2
3If you are new to the NDN software community, please read the
Davide Pesavento1e9faf12023-01-21 16:04:50 -05004[Contributor's Guide](https://github.com/named-data/.github/blob/main/CONTRIBUTING.md).
Davide Pesavento1b640fd2023-01-04 21:00:05 -05005
6## Licensing requirements
Yingdi Yu40cd1c32014-04-17 15:02:17 -07007
Vince Lehmanc2e51f62015-01-20 15:03:11 -06008Contributions to NLSR must be licensed under GPL 3.0 or compatible license. If you are
9choosing GPL 3.0, please use the following license boilerplate in all `.hpp` and `.cpp`
10files:
11
12Include the following header in all `.hpp` and `.cpp` files:
Yingdi Yu40cd1c32014-04-17 15:02:17 -070013
14 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
Davide Pesaventoba8a4ed2021-10-13 21:28:43 -040015 /*
16 * Copyright (c) [Year(s)], [Copyright Holder(s)].
Yingdi Yu40cd1c32014-04-17 15:02:17 -070017 *
18 * This file is part of NLSR (Named-data Link State Routing).
19 * See AUTHORS.md for complete list of NLSR authors and contributors.
20 *
21 * NLSR is free software: you can redistribute it and/or modify it under the terms
22 * of the GNU General Public License as published by the Free Software Foundation,
23 * either version 3 of the License, or (at your option) any later version.
24 *
25 * NLSR is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
26 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
27 * PURPOSE. See the GNU General Public License for more details.
28 *
29 * You should have received a copy of the GNU General Public License along with
30 * NLSR, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
Davide Pesaventoba8a4ed2021-10-13 21:28:43 -040031 */
Yingdi Yu40cd1c32014-04-17 15:02:17 -070032
Davide Pesavento1b640fd2023-01-04 21:00:05 -050033If you are affiliated with an NSF-supported NDN project institution, please use the [NDN Team License
34Boilerplate](https://redmine.named-data.net/projects/nlsr/wiki/NDN_Team_License_Boilerplate_(NLSR)).
Vince Lehmanc2e51f62015-01-20 15:03:11 -060035
Davide Pesavento1b640fd2023-01-04 21:00:05 -050036## Recommendations
Yingdi Yu40cd1c32014-04-17 15:02:17 -070037
Davide Pesavento1b640fd2023-01-04 21:00:05 -050038NLSR code is subject to the code style defined
39[here](https://redmine.named-data.net/projects/nfd/wiki/CodeStyle).
Ashlesh Gawande39cf81a2018-02-22 13:37:07 -060040
Davide Pesavento1b640fd2023-01-04 21:00:05 -050041NLSR Developer's guide can be found
42[here](https://github.com/named-data/NLSR/blob/developers-guide/NLSR-Developers-Guide.pdf).