summaryrefslogtreecommitdiff
path: root/common/config.cpp
blob: ff249768c3d482e4535e3eebdf48187b3e650bd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * config.cpp
 *
 *  Created on: 05.08.2012
 *      Author: savop
 */


#include "../include/config.h"
#include "../include/tools.h"
#include "../upnp.h"

using namespace upnp;

upnp::cConfig::cConfig()
: enabled(true)
, expertSettings(false)
, useInternalWebserver(false)
, webServerPort(0)
, presentationURL("index.html")
, maxContentLength(KB(20))
, announceMaxAge(1800)
, deviceUUID(tools::GenerateUUIDRandomly())
, serviceURL("services/")
, staticContentURL("http/")
, bindToAddress(true)
, address("0.0.0.0")
, port(0)
, databaseFile("metadata.db")
{
}