aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_nat_auto_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_nat_auto_service.h')
-rw-r--r--src/include/gnunet_nat_auto_service.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/include/gnunet_nat_auto_service.h b/src/include/gnunet_nat_auto_service.h
index dd74d1eeb..b40c515a5 100644
--- a/src/include/gnunet_nat_auto_service.h
+++ b/src/include/gnunet_nat_auto_service.h
@@ -11,12 +11,12 @@
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU Affero General Public License 15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18 SPDX-License-Identifier: AGPL3.0-or-later 18 SPDX-License-Identifier: AGPL3.0-or-later
19*/ 19 */
20 20
21/** 21/**
22 * @author Christian Grothoff 22 * @author Christian Grothoff
@@ -56,11 +56,11 @@ struct GNUNET_NAT_AUTO_Test;
56 * @return handle to cancel NAT test 56 * @return handle to cancel NAT test
57 */ 57 */
58struct GNUNET_NAT_AUTO_Test * 58struct GNUNET_NAT_AUTO_Test *
59GNUNET_NAT_AUTO_test_start (const struct GNUNET_CONFIGURATION_Handle *cfg, 59GNUNET_NAT_AUTO_test_start(const struct GNUNET_CONFIGURATION_Handle *cfg,
60 uint8_t proto, 60 uint8_t proto,
61 const char *section_name, 61 const char *section_name,
62 GNUNET_NAT_TestCallback report, 62 GNUNET_NAT_TestCallback report,
63 void *report_cls); 63 void *report_cls);
64 64
65 65
66/** 66/**
@@ -69,7 +69,7 @@ GNUNET_NAT_AUTO_test_start (const struct GNUNET_CONFIGURATION_Handle *cfg,
69 * @param tst test to stop. 69 * @param tst test to stop.
70 */ 70 */
71void 71void
72GNUNET_NAT_AUTO_test_stop (struct GNUNET_NAT_AUTO_Test *tst); 72GNUNET_NAT_AUTO_test_stop(struct GNUNET_NAT_AUTO_Test *tst);
73 73
74 74
75/** 75/**
@@ -85,7 +85,7 @@ struct GNUNET_NAT_AUTO_AutoHandle;
85 * @return point to a static string containing the error code 85 * @return point to a static string containing the error code
86 */ 86 */
87const char * 87const char *
88GNUNET_NAT_AUTO_status2string (enum GNUNET_NAT_StatusCode err); 88GNUNET_NAT_AUTO_status2string(enum GNUNET_NAT_StatusCode err);
89 89
90 90
91/** 91/**
@@ -99,9 +99,9 @@ GNUNET_NAT_AUTO_status2string (enum GNUNET_NAT_StatusCode err);
99 */ 99 */
100typedef void 100typedef void
101(*GNUNET_NAT_AUTO_AutoResultCallback)(void *cls, 101(*GNUNET_NAT_AUTO_AutoResultCallback)(void *cls,
102 const struct GNUNET_CONFIGURATION_Handle *diff, 102 const struct GNUNET_CONFIGURATION_Handle *diff,
103 enum GNUNET_NAT_StatusCode result, 103 enum GNUNET_NAT_StatusCode result,
104 enum GNUNET_NAT_Type type); 104 enum GNUNET_NAT_Type type);
105 105
106 106
107/** 107/**
@@ -114,9 +114,9 @@ typedef void
114 * @return handle to cancel operation 114 * @return handle to cancel operation
115 */ 115 */
116struct GNUNET_NAT_AUTO_AutoHandle * 116struct GNUNET_NAT_AUTO_AutoHandle *
117GNUNET_NAT_AUTO_autoconfig_start (const struct GNUNET_CONFIGURATION_Handle *cfg, 117GNUNET_NAT_AUTO_autoconfig_start(const struct GNUNET_CONFIGURATION_Handle *cfg,
118 GNUNET_NAT_AUTO_AutoResultCallback cb, 118 GNUNET_NAT_AUTO_AutoResultCallback cb,
119 void *cb_cls); 119 void *cb_cls);
120 120
121 121
122/** 122/**
@@ -125,7 +125,7 @@ GNUNET_NAT_AUTO_autoconfig_start (const struct GNUNET_CONFIGURATION_Handle *cfg,
125 * @param ah handle for operation to abort 125 * @param ah handle for operation to abort
126 */ 126 */
127void 127void
128GNUNET_NAT_AUTO_autoconfig_cancel (struct GNUNET_NAT_AUTO_AutoHandle *ah); 128GNUNET_NAT_AUTO_autoconfig_cancel(struct GNUNET_NAT_AUTO_AutoHandle *ah);
129 129
130 130
131#endif 131#endif