summaryrefslogtreecommitdiff
path: root/other/bootstrap_daemon/src/config_defaults.h
diff options
context:
space:
mode:
Diffstat (limited to 'other/bootstrap_daemon/src/config_defaults.h')
-rw-r--r--other/bootstrap_daemon/src/config_defaults.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/other/bootstrap_daemon/src/config_defaults.h b/other/bootstrap_daemon/src/config_defaults.h
new file mode 100644
index 00000000..34d715e7
--- /dev/null
+++ b/other/bootstrap_daemon/src/config_defaults.h
@@ -0,0 +1,41 @@
1/* config_defaults.h
2 *
3 * Tox DHT bootstrap daemon.
4 *
5 * Copyright (C) 2014-2015 Tox project All Rights Reserved.
6 *
7 * This file is part of Tox.
8 *
9 * Tox is free software: you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation, either version 3 of the License, or
12 * (at your option) any later version.
13 *
14 * Tox is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
21 *
22 */
23
24#ifndef CONFIG_DEFAULTS_H
25#define CONFIG_DEFAULTS_H
26
27#include "global.h"
28
29#define DEFAULT_PID_FILE_PATH "tox-bootstrapd.pid"
30#define DEFAULT_KEYS_FILE_PATH "tox-bootstrapd.keys"
31#define DEFAULT_PORT 33445
32#define DEFAULT_ENABLE_IPV6 1 // 1 - true, 0 - false
33#define DEFAULT_ENABLE_IPV4_FALLBACK 1 // 1 - true, 0 - false
34#define DEFAULT_ENABLE_LAN_DISCOVERY 1 // 1 - true, 0 - false
35#define DEFAULT_ENABLE_TCP_RELAY 1 // 1 - true, 0 - false
36#define DEFAULT_TCP_RELAY_PORTS 443, 3389, 33445 // comma-separated list of ports. make sure to adjust DEFAULT_TCP_RELAY_PORTS_COUNT accordingly
37#define DEFAULT_TCP_RELAY_PORTS_COUNT 3
38#define DEFAULT_ENABLE_MOTD 1 // 1 - true, 0 - false
39#define DEFAULT_MOTD DAEMON_NAME
40
41#endif // CONFIG_DEFAULTS_H