mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 16:41:11 +02:00
3cef9949c2
It is difficult to maintain one build system, let alone two - especially if one build system is known to be better maintained and the other build system continues to be used - with bug and feature requests raised against it. The maintainers are aware that there are people using the CMake system, but believe that the extra maintainability of only having one build system, combined with the knowledge that the current CI system demonstrates that all supported architectures are working with the Makefiles make the use of these Makefiles a more sustainable direction.
43 lines
1.1 KiB
C
43 lines
1.1 KiB
C
/**
|
|
* (C) 2007-22 - ntop.org and contributors
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* 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 General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not see see <http://www.gnu.org/licenses/>
|
|
*
|
|
*/
|
|
|
|
|
|
#ifndef _N2N_PORT_MAPPING_H_
|
|
#define _N2N_PORT_MAPPING_H_
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
#ifdef HAVE_MINIUPNP
|
|
#include <miniupnpc/miniupnpc.h>
|
|
#include <miniupnpc/upnpcommands.h>
|
|
#include <miniupnpc/upnperrors.h>
|
|
#endif // HAVE_MINIUPNP
|
|
|
|
|
|
#ifdef HAVE_NATPMP
|
|
#include "natpmp.h"
|
|
#endif // HAVE_NATPMP
|
|
|
|
|
|
void n2n_set_port_mapping (const uint16_t port);
|
|
void n2n_del_port_mapping (const uint16_t port);
|
|
|
|
|
|
#endif // _N2N_PORT_MAPPING_H_
|