re-licensed upnputil with permission from the author

This commit is contained in:
csoler 2018-11-10 23:03:44 +01:00
parent 9c3d5acd8e
commit ca3694acca
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C
2 changed files with 45 additions and 38 deletions

View File

@ -1,22 +1,25 @@
/************************************************************************************** /*******************************************************************************
* MiniUPnPc * * libretroshare/src/upnp: upnputil.c *
* Copyright (c) 2005-2016, Thomas BERNARD * * *
* All rights reserved. * * libretroshare: retroshare core library *
* * * From MiniUPnPc, re-licensed with permission *
* Redistribution and use in source and binary forms, with or without * * *
* modification, are permitted provided that the following conditions are met: * * Copyright (c) 2005-2016, Thomas BERNARD *
* * * *
* * Redistributions of source code must retain the above copyright notice, * * This program is free software: you can redistribute it and/or modify *
* this list of conditions and the following disclaimer. * * it under the terms of the GNU Lesser General Public License as *
* * Redistributions in binary form must reproduce the above copyright notice, * * published by the Free Software Foundation, either version 3 of the *
* this list of conditions and the following disclaimer in the documentation * * License, or (at your option) any later version. *
* and/or other materials provided with the distribution. * * *
* * The name of the author may not be used to endorse or promote products * * This program is distributed in the hope that it will be useful, *
* derived from this software without specific prior written permission. * * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* This software is subject to the conditions detailed in the * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* LICENCE file provided in this distribution. * * GNU Lesser General Public License for more details. *
* * * *
**************************************************************************************/ * You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
//this file uses miniupnp //this file uses miniupnp
//From https://github.com/miniupnp/miniupnp/blob/master/miniupnpc/upnpc.c //From https://github.com/miniupnp/miniupnp/blob/master/miniupnpc/upnpc.c

View File

@ -1,22 +1,26 @@
/************************************************************************************** /*******************************************************************************
* MiniUPnPc * * libretroshare/src/upnp: upnputil.h *
* Copyright (c) 2005-2016, Thomas BERNARD * * *
* All rights reserved. * * libretroshare: retroshare core library *
* * * From MiniUPnPc, re-licensed with permission *
* Redistribution and use in source and binary forms, with or without * * *
* modification, are permitted provided that the following conditions are met: * * Copyright (c) 2005-2016, Thomas BERNARD *
* * * *
* * Redistributions of source code must retain the above copyright notice, * * This program is free software: you can redistribute it and/or modify *
* this list of conditions and the following disclaimer. * * it under the terms of the GNU Lesser General Public License as *
* * Redistributions in binary form must reproduce the above copyright notice, * * published by the Free Software Foundation, either version 3 of the *
* this list of conditions and the following disclaimer in the documentation * * License, or (at your option) any later version. *
* and/or other materials provided with the distribution. * * *
* * The name of the author may not be used to endorse or promote products * * This program is distributed in the hope that it will be useful, *
* derived from this software without specific prior written permission. * * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* This software is subject to the conditions detailed in the * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* LICENCE file provided in this distribution. * * GNU Lesser General Public License for more details. *
* * * *
**************************************************************************************/ * You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
//this file uses miniupnp //this file uses miniupnp
#ifndef MINIUPNP_UTIL_H_ #ifndef MINIUPNP_UTIL_H_