mirror of
https://github.com/status-im/miniupnp.git
synced 2025-01-24 21:31:29 +00:00
d5b7d70c32
Also make the code compile only when ENABLE_IPV6 is defined
20 lines
604 B
C
20 lines
604 B
C
/* $Id: pfpinhole.h,v 1.3 2012/04/20 14:34:11 nanard Exp $ */
|
|
/* MiniUPnP project
|
|
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
|
|
* (c) 2012 Thomas Bernard
|
|
* This software is subject to the conditions detailed
|
|
* in the LICENCE file provided within the distribution */
|
|
|
|
#ifndef __PFPINHOLE_H__
|
|
#define __PFPINHOLE_H__
|
|
|
|
int add_pinhole(const char * ifname,
|
|
const char * rem_host, unsigned short rem_port,
|
|
const char * int_client, unsigned short int_port,
|
|
int proto, unsigned int timestamp);
|
|
|
|
int delete_pinhole(unsigned short uid);
|
|
|
|
#endif
|
|
|