diff options
author | irungentoo <irungentoo@gmail.com> | 2016-01-04 22:43:36 -0500 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2016-01-04 22:43:36 -0500 |
commit | c6bed82d47aa39709bdd568fccc3847714ed1b74 (patch) | |
tree | 4e2dd8676a53e78a5b84e3abd68cdbe82a636737 /other/bootstrap_daemon/src/config_defaults.h | |
parent | 760f20c9455c2ef33ec9d242f209a1543f6acaf4 (diff) | |
parent | 9d1efd594914629204d4cd1a84678daf67eb8068 (diff) |
Merge branch 'tox-bootstrapd-docker-support' of https://github.com/nurupo/InsertProjectNameHere
Diffstat (limited to 'other/bootstrap_daemon/src/config_defaults.h')
-rw-r--r-- | other/bootstrap_daemon/src/config_defaults.h | 42 |
1 files changed, 42 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..17bffd3a --- /dev/null +++ b/other/bootstrap_daemon/src/config_defaults.h | |||
@@ -0,0 +1,42 @@ | |||
1 | /* config_defaults.h | ||
2 | * | ||
3 | * Tox DHT bootstrap daemon. | ||
4 | * Default config options for when they are missing in the config file. | ||
5 | * | ||
6 | * Copyright (C) 2014-2016 Tox project All Rights Reserved. | ||
7 | * | ||
8 | * This file is part of Tox. | ||
9 | * | ||
10 | * Tox is free software: you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License as published by | ||
12 | * the Free Software Foundation, either version 3 of the License, or | ||
13 | * (at your option) any later version. | ||
14 | * | ||
15 | * Tox is distributed in the hope that it will be useful, | ||
16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
18 | * GNU General Public License for more details. | ||
19 | * | ||
20 | * You should have received a copy of the GNU General Public License | ||
21 | * along with Tox. If not, see <http://www.gnu.org/licenses/>. | ||
22 | * | ||
23 | */ | ||
24 | |||
25 | #ifndef CONFIG_DEFAULTS_H | ||
26 | #define CONFIG_DEFAULTS_H | ||
27 | |||
28 | #include "global.h" | ||
29 | |||
30 | #define DEFAULT_PID_FILE_PATH "tox-bootstrapd.pid" | ||
31 | #define DEFAULT_KEYS_FILE_PATH "tox-bootstrapd.keys" | ||
32 | #define DEFAULT_PORT 33445 | ||
33 | #define DEFAULT_ENABLE_IPV6 1 // 1 - true, 0 - false | ||
34 | #define DEFAULT_ENABLE_IPV4_FALLBACK 1 // 1 - true, 0 - false | ||
35 | #define DEFAULT_ENABLE_LAN_DISCOVERY 1 // 1 - true, 0 - false | ||
36 | #define DEFAULT_ENABLE_TCP_RELAY 1 // 1 - true, 0 - false | ||
37 | #define DEFAULT_TCP_RELAY_PORTS 443, 3389, 33445 // comma-separated list of ports. make sure to adjust DEFAULT_TCP_RELAY_PORTS_COUNT accordingly | ||
38 | #define DEFAULT_TCP_RELAY_PORTS_COUNT 3 | ||
39 | #define DEFAULT_ENABLE_MOTD 1 // 1 - true, 0 - false | ||
40 | #define DEFAULT_MOTD DAEMON_NAME | ||
41 | |||
42 | #endif // CONFIG_DEFAULTS_H | ||