* Code cleanup.

This commit is contained in:
Justin Maggard
2009-01-31 00:25:03 +00:00
parent 68ba24f255
commit 7e30949498
17 changed files with 54 additions and 114 deletions

View File

@ -8,7 +8,7 @@
#define __UPNPGLOBALVARS_H__
#include <time.h>
#include "miniupnpdtypes.h"
#include "minidlnatypes.h"
#include "config.h"
#include <sqlite3.h>
@ -44,15 +44,6 @@
"http-get:*:video/dvd:*," \
"http-get:*:video/x-ms-wmv:*"
/* file to store all leases */
#ifdef ENABLE_LEASEFILE
extern const char * lease_file;
#endif
/* forced ip address to use for this interface
* when NULL, getifaddr() is used */
extern const char * use_ext_ip_addr;
/* statup time */
extern time_t startup_time;
@ -80,10 +71,6 @@ extern char modelnumber[];
#define PRESENTATIONURL_MAX_LEN (64)
extern char presentationurl[];
/* UPnP permission rules : */
extern struct upnpperm * upnppermlist;
extern unsigned int num_upnpperm;
/* lan addresses */
/* MAX_LAN_ADDR : maximum number of interfaces
* to listen to SSDP traffic */