49 lines
1.1 KiB
C
49 lines
1.1 KiB
C
/* $Id$ */
|
|
/* 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 */
|
|
|
|
#include <sys/types.h>
|
|
#include <netinet/in.h>
|
|
|
|
#include "config.h"
|
|
#include "upnpglobalvars.h"
|
|
|
|
/* LAN address */
|
|
/*const char * listen_addr = 0;*/
|
|
|
|
/* startup time */
|
|
time_t startup_time = 0;
|
|
|
|
#if 0
|
|
/* use system uptime */
|
|
int sysuptime = 0;
|
|
|
|
/* log packets flag */
|
|
int logpackets = 0;
|
|
|
|
#endif
|
|
|
|
int runtime_flags = 0;
|
|
|
|
const char * pidfilename = "/var/run/minidlna.pid";
|
|
|
|
char uuidvalue[] = "uuid:00000000-0000-0000-0000-000000000000";
|
|
char serialnumber[SERIALNUMBER_MAX_LEN] = "00000000";
|
|
|
|
char modelnumber[MODELNUMBER_MAX_LEN] = "1";
|
|
|
|
/* presentation url :
|
|
* http://nnn.nnn.nnn.nnn:ppppp/ => max 30 bytes including terminating 0 */
|
|
char presentationurl[PRESENTATIONURL_MAX_LEN];
|
|
|
|
int n_lan_addr = 0;
|
|
struct lan_addr_s lan_addr[MAX_LAN_ADDR];
|
|
|
|
/* UPnP-A/V [DLNA] */
|
|
sqlite3 *db;
|
|
char media_dir[MEDIADIR_MAX_LEN];
|
|
char friendly_name[FRIENDLYNAME_MAX_LEN];
|