diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-05 18:51:02 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-05 18:51:02 +0100 |
commit | 8c1ee5dd1319bcd9ddb6c55d2104c286b61b2e99 (patch) | |
tree | 704449a28ae0249ca3a3bd2789c2cbadb8171230 /src/nat/gnunet-service-nat.h | |
parent | 3c31d74877c1243b98e7b31a0d5acab91fc5795e (diff) | |
download | gnunet-8c1ee5dd1319bcd9ddb6c55d2104c286b61b2e99.tar.gz gnunet-8c1ee5dd1319bcd9ddb6c55d2104c286b61b2e99.zip |
move external IP logic to separate file
Diffstat (limited to 'src/nat/gnunet-service-nat.h')
-rw-r--r-- | src/nat/gnunet-service-nat.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/nat/gnunet-service-nat.h b/src/nat/gnunet-service-nat.h new file mode 100644 index 000000000..96eb9f78b --- /dev/null +++ b/src/nat/gnunet-service-nat.h | |||
@@ -0,0 +1,35 @@ | |||
1 | /* | ||
2 | This file is part of GNUnet. | ||
3 | Copyright (C) 2016, 2017 GNUnet e.V. | ||
4 | |||
5 | GNUnet is free software; you can redistribute it and/or modify | ||
6 | it under the terms of the GNU General Public License as published | ||
7 | by the Free Software Foundation; either version 3, or (at your | ||
8 | option) any later version. | ||
9 | |||
10 | GNUnet is distributed in the hope that it will be useful, but | ||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU General Public License | ||
16 | along with GNUnet; see the file COPYING. If not, write to the | ||
17 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
18 | Boston, MA 02110-1301, USA. | ||
19 | */ | ||
20 | |||
21 | /** | ||
22 | * @file nat/gnunet-service-nat.h | ||
23 | * @brief network address translation traversal service | ||
24 | * @author Christian Grothoff | ||
25 | */ | ||
26 | #ifndef GNUNET_SERVICE_NAT_H | ||
27 | #define GNUNET_SERVICE_NAT_H | ||
28 | |||
29 | /** | ||
30 | * Is UPnP enabled? #GNUNET_YES if enabled, #GNUNET_NO if disabled, | ||
31 | * #GNUNET_SYSERR if configuration enabled but binary is unavailable. | ||
32 | */ | ||
33 | extern int enable_upnp; | ||
34 | |||
35 | #endif | ||