--- embedaddon/miniupnpd/upnppermissions.h 2012/02/21 23:16:02 1.1.1.1 +++ embedaddon/miniupnpd/upnppermissions.h 2013/07/22 00:32:35 1.1.1.2 @@ -1,12 +1,12 @@ -/* $Id: upnppermissions.h,v 1.1.1.1 2012/02/21 23:16:02 misho Exp $ */ +/* $Id: upnppermissions.h,v 1.1.1.2 2013/07/22 00:32:35 misho Exp $ */ /* MiniUPnP project * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ * (c) 2006 Thomas Bernard * This software is subject to the conditions detailed * in the LICENCE file provided within the distribution */ -#ifndef __UPNPPERMISSIONS_H__ -#define __UPNPPERMISSIONS_H__ +#ifndef UPNPPERMISSIONS_H_INCLUDED +#define UPNPPERMISSIONS_H_INCLUDED #include #include @@ -29,14 +29,14 @@ struct upnpperm { * -1 error reading line * * line sample : - * allow 1024-65535 192.168.3.0/24 1024-65535 + * allow 1024-65535 192.168.3.0/24 1024-65535 * allow 22 192.168.4.33/32 22 * deny 0-65535 0.0.0.0/0 0-65535 */ int read_permission_line(struct upnpperm * perm, char * p); -/* check_upnp_rule_against_permissions() +/* check_upnp_rule_against_permissions() * returns: 0 if the upnp rule should be rejected, * 1 if it could be accepted */ int