ddnet/src/engine/server/upnp.h

19 lines
292 B
C
Raw Normal View History

2020-04-19 13:14:21 +00:00
#ifndef ENGINE_SERVER_UPNP_H
#define ENGINE_SERVER_UPNP_H
#include <base/types.h>
2020-04-19 13:14:21 +00:00
class CUPnP
{
NETADDR m_Addr;
struct UPNPUrls *m_pUPnPUrls;
struct IGDdatas *m_pUPnPData;
struct UPNPDev *m_pUPnPDevice;
2020-04-19 13:14:21 +00:00
bool m_Enabled;
public:
void Open(NETADDR Address);
void Shutdown();
2020-04-19 13:14:21 +00:00
};
#endif