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

View File

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