2012-04-20 14:49:04 +00:00
|
|
|
/* $Id: pfpinhole.h,v 1.3 2012/04/20 14:34:11 nanard Exp $ */
|
2012-04-18 20:53:51 +00:00
|
|
|
/* 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__
|
|
|
|
|
2012-04-20 14:49:04 +00:00
|
|
|
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);
|
2012-04-18 20:53:51 +00:00
|
|
|
|
2012-04-20 14:49:04 +00:00
|
|
|
int delete_pinhole(unsigned short uid);
|
2012-04-19 22:07:13 +00:00
|
|
|
|
2012-04-18 20:53:51 +00:00
|
|
|
#endif
|
|
|
|
|