version 1.1.1.2, 2012/05/29 12:55:57
|
version 1.1.1.3, 2013/07/22 00:32:35
|
Line 1
|
Line 1
|
/* $Id$ */ |
/* $Id$ */ |
/* MiniUPnP project |
/* MiniUPnP project |
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ |
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ |
* (c) 2006-2011 Thomas Bernard | * (c) 2006-2012 Thomas Bernard |
* 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 __UPNPGLOBALVARS_H__ | #ifndef UPNPGLOBALVARS_H_INCLUDED |
#define __UPNPGLOBALVARS_H__ | #define UPNPGLOBALVARS_H_INCLUDED |
|
|
#include <time.h> |
#include <time.h> |
#include "upnppermissions.h" |
#include "upnppermissions.h" |
Line 65 extern char modelnumber[];
|
Line 65 extern char modelnumber[];
|
#define PRESENTATIONURL_MAX_LEN (64) |
#define PRESENTATIONURL_MAX_LEN (64) |
extern char presentationurl[]; |
extern char presentationurl[]; |
|
|
|
#define FRIENDLY_NAME_MAX_LEN (64) |
|
extern char friendly_name[]; |
|
|
/* UPnP permission rules : */ |
/* UPnP permission rules : */ |
extern struct upnpperm * upnppermlist; |
extern struct upnpperm * upnppermlist; |
extern unsigned int num_upnpperm; |
extern unsigned int num_upnpperm; |
Line 82 extern unsigned short nextnatpmptoclean_proto;
|
Line 85 extern unsigned short nextnatpmptoclean_proto;
|
extern unsigned int nextruletoclean_timestamp; |
extern unsigned int nextruletoclean_timestamp; |
|
|
#ifdef USE_PF |
#ifdef USE_PF |
|
extern const char * anchor_name; |
/* queue and tag for PF rules */ |
/* queue and tag for PF rules */ |
extern const char * queue; |
extern const char * queue; |
extern const char * tag; |
extern const char * tag; |
Line 90 extern const char * tag;
|
Line 94 extern const char * tag;
|
#ifdef USE_NETFILTER |
#ifdef USE_NETFILTER |
extern const char * miniupnpd_nat_chain; |
extern const char * miniupnpd_nat_chain; |
extern const char * miniupnpd_forward_chain; |
extern const char * miniupnpd_forward_chain; |
|
#ifdef ENABLE_6FC_SERVICE |
|
extern const char * miniupnpd_v6_filter_chain; |
|
#endif |
#endif |
#endif |
|
|
#ifdef ENABLE_NFQUEUE |
#ifdef ENABLE_NFQUEUE |