forked from Green-Sky/tomato
git-subtree-dir: external/toxcore/c-toxcore git-subtree-split: 67badf69416a74e74f6d7eb51dd96f37282b8455
28 lines
1.1 KiB
C
28 lines
1.1 KiB
C
/* SPDX-License-Identifier: GPL-3.0-or-later
|
|
* Copyright © 2016-2018 The TokTok team.
|
|
* Copyright © 2014-2016 Tox project.
|
|
*/
|
|
|
|
/*
|
|
* Tox DHT bootstrap daemon.
|
|
* Default config options for when they are missing in the config file.
|
|
*/
|
|
#ifndef C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_CONFIG_DEFAULTS_H
|
|
#define C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_CONFIG_DEFAULTS_H
|
|
|
|
#include "global.h"
|
|
|
|
#define DEFAULT_PID_FILE_PATH "tox-bootstrapd.pid"
|
|
#define DEFAULT_KEYS_FILE_PATH "tox-bootstrapd.keys"
|
|
#define DEFAULT_PORT 33445
|
|
#define DEFAULT_ENABLE_IPV6 1 // 1 - true, 0 - false
|
|
#define DEFAULT_ENABLE_IPV4_FALLBACK 1 // 1 - true, 0 - false
|
|
#define DEFAULT_ENABLE_LAN_DISCOVERY 1 // 1 - true, 0 - false
|
|
#define DEFAULT_ENABLE_TCP_RELAY 1 // 1 - true, 0 - false
|
|
#define DEFAULT_TCP_RELAY_PORTS 443, 3389, 33445 // comma-separated list of ports. make sure to adjust DEFAULT_TCP_RELAY_PORTS_COUNT accordingly
|
|
#define DEFAULT_TCP_RELAY_PORTS_COUNT 3
|
|
#define DEFAULT_ENABLE_MOTD 1 // 1 - true, 0 - false
|
|
#define DEFAULT_MOTD DAEMON_NAME
|
|
|
|
#endif // C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_CONFIG_DEFAULTS_H
|