diff options
author | ng0 <ng0@n0.is> | 2019-09-08 12:33:09 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-09-08 12:33:09 +0000 |
commit | d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb (patch) | |
tree | 9efd18ea7d425652085ed0bd5e8e45604bc5f6b9 /src/include/gnunet_nat_auto_service.h | |
parent | a0fce305c565c0937d917a92712f15e9c5736260 (diff) | |
download | gnunet-d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb.tar.gz gnunet-d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb.zip |
uncrustify as demanded.
Diffstat (limited to 'src/include/gnunet_nat_auto_service.h')
-rw-r--r-- | src/include/gnunet_nat_auto_service.h | 32 |
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 | */ |
58 | struct GNUNET_NAT_AUTO_Test * | 58 | struct GNUNET_NAT_AUTO_Test * |
59 | GNUNET_NAT_AUTO_test_start (const struct GNUNET_CONFIGURATION_Handle *cfg, | 59 | GNUNET_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 | */ |
71 | void | 71 | void |
72 | GNUNET_NAT_AUTO_test_stop (struct GNUNET_NAT_AUTO_Test *tst); | 72 | GNUNET_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 | */ |
87 | const char * | 87 | const char * |
88 | GNUNET_NAT_AUTO_status2string (enum GNUNET_NAT_StatusCode err); | 88 | GNUNET_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 | */ |
100 | typedef void | 100 | typedef 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 | */ |
116 | struct GNUNET_NAT_AUTO_AutoHandle * | 116 | struct GNUNET_NAT_AUTO_AutoHandle * |
117 | GNUNET_NAT_AUTO_autoconfig_start (const struct GNUNET_CONFIGURATION_Handle *cfg, | 117 | GNUNET_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 | */ |
127 | void | 127 | void |
128 | GNUNET_NAT_AUTO_autoconfig_cancel (struct GNUNET_NAT_AUTO_AutoHandle *ah); | 128 | GNUNET_NAT_AUTO_autoconfig_cancel(struct GNUNET_NAT_AUTO_AutoHandle *ah); |
129 | 129 | ||
130 | 130 | ||
131 | #endif | 131 | #endif |