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/transport/gnunet-service-transport_validation.h | |
parent | a0fce305c565c0937d917a92712f15e9c5736260 (diff) | |
download | gnunet-d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb.tar.gz gnunet-d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb.zip |
uncrustify as demanded.
Diffstat (limited to 'src/transport/gnunet-service-transport_validation.h')
-rw-r--r-- | src/transport/gnunet-service-transport_validation.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/transport/gnunet-service-transport_validation.h b/src/transport/gnunet-service-transport_validation.h index f6ae764b7..a5b9b7603 100644 --- a/src/transport/gnunet-service-transport_validation.h +++ b/src/transport/gnunet-service-transport_validation.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 | * @file transport/gnunet-service-transport_validation.h | 22 | * @file transport/gnunet-service-transport_validation.h |
@@ -37,14 +37,14 @@ | |||
37 | * @param max_fds maximum number of fds to use | 37 | * @param max_fds maximum number of fds to use |
38 | */ | 38 | */ |
39 | void | 39 | void |
40 | GST_validation_start (unsigned int max_fds); | 40 | GST_validation_start(unsigned int max_fds); |
41 | 41 | ||
42 | 42 | ||
43 | /** | 43 | /** |
44 | * Stop the validation subsystem. | 44 | * Stop the validation subsystem. |
45 | */ | 45 | */ |
46 | void | 46 | void |
47 | GST_validation_stop (void); | 47 | GST_validation_stop(void); |
48 | 48 | ||
49 | 49 | ||
50 | /** | 50 | /** |
@@ -57,8 +57,8 @@ GST_validation_stop (void); | |||
57 | * #GNUNET_NO if we are no longer using the address for a connection | 57 | * #GNUNET_NO if we are no longer using the address for a connection |
58 | */ | 58 | */ |
59 | void | 59 | void |
60 | GST_validation_set_address_use (const struct GNUNET_HELLO_Address *address, | 60 | GST_validation_set_address_use(const struct GNUNET_HELLO_Address *address, |
61 | int in_use); | 61 | int in_use); |
62 | 62 | ||
63 | 63 | ||
64 | /** | 64 | /** |
@@ -71,10 +71,10 @@ GST_validation_set_address_use (const struct GNUNET_HELLO_Address *address, | |||
71 | * @return #GNUNET_OK if the message was fine, #GNUNET_SYSERR on serious error | 71 | * @return #GNUNET_OK if the message was fine, #GNUNET_SYSERR on serious error |
72 | */ | 72 | */ |
73 | int | 73 | int |
74 | GST_validation_handle_ping (const struct GNUNET_PeerIdentity *sender, | 74 | GST_validation_handle_ping(const struct GNUNET_PeerIdentity *sender, |
75 | const struct GNUNET_MessageHeader *hdr, | 75 | const struct GNUNET_MessageHeader *hdr, |
76 | const struct GNUNET_HELLO_Address *sender_address, | 76 | const struct GNUNET_HELLO_Address *sender_address, |
77 | struct GNUNET_ATS_Session *session); | 77 | struct GNUNET_ATS_Session *session); |
78 | 78 | ||
79 | 79 | ||
80 | /** | 80 | /** |
@@ -86,8 +86,8 @@ GST_validation_handle_ping (const struct GNUNET_PeerIdentity *sender, | |||
86 | * @return #GNUNET_OK if the message was fine, #GNUNET_SYSERR on serious error | 86 | * @return #GNUNET_OK if the message was fine, #GNUNET_SYSERR on serious error |
87 | */ | 87 | */ |
88 | int | 88 | int |
89 | GST_validation_handle_pong (const struct GNUNET_PeerIdentity *sender, | 89 | GST_validation_handle_pong(const struct GNUNET_PeerIdentity *sender, |
90 | const struct GNUNET_MessageHeader *hdr); | 90 | const struct GNUNET_MessageHeader *hdr); |
91 | 91 | ||
92 | 92 | ||
93 | /** | 93 | /** |
@@ -98,7 +98,7 @@ GST_validation_handle_pong (const struct GNUNET_PeerIdentity *sender, | |||
98 | * @return #GNUNET_OK if the message was fine, #GNUNET_SYSERR on serious error | 98 | * @return #GNUNET_OK if the message was fine, #GNUNET_SYSERR on serious error |
99 | */ | 99 | */ |
100 | int | 100 | int |
101 | GST_validation_handle_hello (const struct GNUNET_MessageHeader *hello); | 101 | GST_validation_handle_hello(const struct GNUNET_MessageHeader *hello); |
102 | 102 | ||
103 | 103 | ||
104 | /** | 104 | /** |
@@ -107,7 +107,7 @@ GST_validation_handle_hello (const struct GNUNET_MessageHeader *hello); | |||
107 | * @param address address we should try to validate | 107 | * @param address address we should try to validate |
108 | */ | 108 | */ |
109 | void | 109 | void |
110 | GST_validation_handle_address (const struct GNUNET_HELLO_Address *address); | 110 | GST_validation_handle_address(const struct GNUNET_HELLO_Address *address); |
111 | 111 | ||
112 | 112 | ||
113 | /** | 113 | /** |
@@ -138,8 +138,8 @@ typedef void | |||
138 | * @param cb_cls closure for @a cb | 138 | * @param cb_cls closure for @a cb |
139 | */ | 139 | */ |
140 | void | 140 | void |
141 | GST_validation_get_addresses (const struct GNUNET_PeerIdentity *target, | 141 | GST_validation_get_addresses(const struct GNUNET_PeerIdentity *target, |
142 | GST_ValidationAddressCallback cb, void *cb_cls); | 142 | GST_ValidationAddressCallback cb, void *cb_cls); |
143 | 143 | ||
144 | 144 | ||
145 | #endif | 145 | #endif |