diff options
Diffstat (limited to 'other/bootstrap_daemon/src/global.h')
-rw-r--r-- | other/bootstrap_daemon/src/global.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/other/bootstrap_daemon/src/global.h b/other/bootstrap_daemon/src/global.h new file mode 100644 index 00000000..9ae3ec45 --- /dev/null +++ b/other/bootstrap_daemon/src/global.h | |||
@@ -0,0 +1,34 @@ | |||
1 | /* global.h | ||
2 | * | ||
3 | * Tox DHT bootstrap daemon. | ||
4 | * Globally used defines. | ||
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 GLOBAL_H | ||
26 | #define GLOBAL_H | ||
27 | |||
28 | #define DAEMON_NAME "tox-bootstrapd" | ||
29 | #define DAEMON_VERSION_NUMBER 2016010100UL // yyyymmmddvv format: yyyy year, mm month, dd day, vv version change count for that day | ||
30 | |||
31 | #define MIN_ALLOWED_PORT 1 | ||
32 | #define MAX_ALLOWED_PORT 65535 | ||
33 | |||
34 | #endif // GLOBAL_H | ||