Copyright (c) 2011 Petteri Aimonen This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. The function generator/nanopb_generator.py:toposort2 is licensed under the MIT License: MIT License Copyright (c) 2010 Paddy McCarthy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. The function pb_common.c:pb_validate_utf8 is licensed under the following terms: Markus Kuhn -- 2005-03-30 License: http://www.cl.cam.ac.uk/~mgk25/short-license.html Short code license If you have reached this web page because you found its URL included as a license-reference comment in a short piece of published computer software source code by its author(s), next to their name, as in, for example, Markus Kuhn -- 1999-12-31 License: https://www.cl.cam.ac.uk/~mgk25/short-license.html then you can assume the following: This code was published by its author(s) as an easily reusable piece of free software, for example to demonstrate some particular programming practice. It is likely too short or obvious to skilled programmers to fall under, or deserve, the protection of copyright legislation. It is also likely to be useless on its own, unless verified and integrated into a larger program by an experienced software engineer, and therefore no consumer protection, warranty or liability rights apply either. Therefore, its author(s) refused to disfigure its appearance with a lengthy copyright license text. Nevertheless, overly cautious lawyers (possibly as part of a “due diligence exercise”) occasionally contact authors of such short code snippets for a formal copyright license. Therefore, the author(s) agree(s) to clarify that, at the user’s choice, the code can be used under any of the following licenses, or any compatible with them: Apache License, 2.0 BSD license GNU General Public License (GPL) GNU Library or "Lesser" General Public License (LGPL) MIT license Mozilla Public License 1.1 (MPL) Common Development and Distribution License Eclipse Public License CC0 Markus Kuhn