Diff for /embedaddon/miniupnpd/upnppermissions.h between versions 1.1 and 1.1.1.2

version 1.1, 2012/02/21 23:16:02 version 1.1.1.2, 2013/07/22 00:32:35
Line 5 Line 5
  * This software is subject to the conditions detailed   * This software is subject to the conditions detailed
  * in the LICENCE file provided within the distribution */   * in the LICENCE file provided within the distribution */
   
#ifndef __UPNPPERMISSIONS_H__#ifndef UPNPPERMISSIONS_H_INCLUDED
#define __UPNPPERMISSIONS_H__#define UPNPPERMISSIONS_H_INCLUDED
   
 #include <sys/types.h>  #include <sys/types.h>
 #include <sys/socket.h>  #include <sys/socket.h>
Line 29  struct upnpperm { Line 29  struct upnpperm {
  *          -1 error reading line   *          -1 error reading line
  *   *
  * line sample :   * 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   *  allow 22 192.168.4.33/32 22
  *  deny 0-65535 0.0.0.0/0 0-65535 */   *  deny 0-65535 0.0.0.0/0 0-65535 */
 int  int
 read_permission_line(struct upnpperm * perm,  read_permission_line(struct upnpperm * perm,
                      char * p);                       char * p);
   
/* check_upnp_rule_against_permissions() /* check_upnp_rule_against_permissions()
  * returns: 0 if the upnp rule should be rejected,   * returns: 0 if the upnp rule should be rejected,
  *          1 if it could be accepted */   *          1 if it could be accepted */
 int  int

Removed from v.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>