blob: fdd60dd7e22fc7626e9008e3c8933fc56364f8c8 [file] [log] [blame] [view]
Davide Pesavento1b640fd2023-01-04 21:00:05 -05001# Notes for NLSR developers
2
Davide Pesaventofa54ee92023-02-20 04:16:51 -05003If you are new to the NDN software community, please read our
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
Davide Pesaventofa54ee92023-02-20 04:16:51 -05008Contributions to NLSR must be licensed under the GPL v3 or a compatible license.
9If you choose the GPL v3, please use the following license boilerplate in all `.hpp`
10and `.cpp` files:
Yingdi Yu40cd1c32014-04-17 15:02:17 -070011
12 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
Davide Pesaventoba8a4ed2021-10-13 21:28:43 -040013 /*
14 * Copyright (c) [Year(s)], [Copyright Holder(s)].
Yingdi Yu40cd1c32014-04-17 15:02:17 -070015 *
16 * This file is part of NLSR (Named-data Link State Routing).
17 * See AUTHORS.md for complete list of NLSR authors and contributors.
18 *
19 * NLSR is free software: you can redistribute it and/or modify it under the terms
20 * of the GNU General Public License as published by the Free Software Foundation,
21 * either version 3 of the License, or (at your option) any later version.
22 *
23 * NLSR is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
24 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
25 * PURPOSE. See the GNU General Public License for more details.
26 *
27 * You should have received a copy of the GNU General Public License along with
28 * NLSR, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
Davide Pesaventoba8a4ed2021-10-13 21:28:43 -040029 */
Yingdi Yu40cd1c32014-04-17 15:02:17 -070030
Davide Pesavento1b640fd2023-01-04 21:00:05 -050031If you are affiliated with an NSF-supported NDN project institution, please use the [NDN Team License
32Boilerplate](https://redmine.named-data.net/projects/nlsr/wiki/NDN_Team_License_Boilerplate_(NLSR)).
Vince Lehmanc2e51f62015-01-20 15:03:11 -060033
Davide Pesavento1b640fd2023-01-04 21:00:05 -050034## Recommendations
Yingdi Yu40cd1c32014-04-17 15:02:17 -070035
Davide Pesavento1b640fd2023-01-04 21:00:05 -050036NLSR code is subject to the code style defined
awlane697a0ad2025-04-21 13:09:17 -050037[here](https://docs.named-data.net/ndn-cxx/current/code-style.html).
Ashlesh Gawande39cf81a2018-02-22 13:37:07 -060038
Davide Pesavento1b640fd2023-01-04 21:00:05 -050039NLSR Developer's guide can be found
40[here](https://github.com/named-data/NLSR/blob/developers-guide/NLSR-Developers-Guide.pdf).