summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_validation.h
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-09-08 12:33:09 +0000
committerng0 <ng0@n0.is>2019-09-08 12:33:09 +0000
commitd41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb (patch)
tree9efd18ea7d425652085ed0bd5e8e45604bc5f6b9 /src/transport/gnunet-service-transport_validation.h
parenta0fce305c565c0937d917a92712f15e9c5736260 (diff)
uncrustify as demanded.
Diffstat (limited to 'src/transport/gnunet-service-transport_validation.h')
-rw-r--r--src/transport/gnunet-service-transport_validation.h32
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 @@
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
SPDX-License-Identifier: AGPL3.0-or-later
-*/
+ */
/**
* @file transport/gnunet-service-transport_validation.h
@@ -37,14 +37,14 @@
* @param max_fds maximum number of fds to use
*/
void
-GST_validation_start (unsigned int max_fds);
+GST_validation_start(unsigned int max_fds);
/**
* Stop the validation subsystem.
*/
void
-GST_validation_stop (void);
+GST_validation_stop(void);
/**
@@ -57,8 +57,8 @@ GST_validation_stop (void);
* #GNUNET_NO if we are no longer using the address for a connection
*/
void
-GST_validation_set_address_use (const struct GNUNET_HELLO_Address *address,
- int in_use);
+GST_validation_set_address_use(const struct GNUNET_HELLO_Address *address,
+ int in_use);
/**
@@ -71,10 +71,10 @@ GST_validation_set_address_use (const struct GNUNET_HELLO_Address *address,
* @return #GNUNET_OK if the message was fine, #GNUNET_SYSERR on serious error
*/
int
-GST_validation_handle_ping (const struct GNUNET_PeerIdentity *sender,
- const struct GNUNET_MessageHeader *hdr,
- const struct GNUNET_HELLO_Address *sender_address,
- struct GNUNET_ATS_Session *session);
+GST_validation_handle_ping(const struct GNUNET_PeerIdentity *sender,
+ const struct GNUNET_MessageHeader *hdr,
+ const struct GNUNET_HELLO_Address *sender_address,
+ struct GNUNET_ATS_Session *session);
/**
@@ -86,8 +86,8 @@ GST_validation_handle_ping (const struct GNUNET_PeerIdentity *sender,
* @return #GNUNET_OK if the message was fine, #GNUNET_SYSERR on serious error
*/
int
-GST_validation_handle_pong (const struct GNUNET_PeerIdentity *sender,
- const struct GNUNET_MessageHeader *hdr);
+GST_validation_handle_pong(const struct GNUNET_PeerIdentity *sender,
+ const struct GNUNET_MessageHeader *hdr);
/**
@@ -98,7 +98,7 @@ GST_validation_handle_pong (const struct GNUNET_PeerIdentity *sender,
* @return #GNUNET_OK if the message was fine, #GNUNET_SYSERR on serious error
*/
int
-GST_validation_handle_hello (const struct GNUNET_MessageHeader *hello);
+GST_validation_handle_hello(const struct GNUNET_MessageHeader *hello);
/**
@@ -107,7 +107,7 @@ GST_validation_handle_hello (const struct GNUNET_MessageHeader *hello);
* @param address address we should try to validate
*/
void
-GST_validation_handle_address (const struct GNUNET_HELLO_Address *address);
+GST_validation_handle_address(const struct GNUNET_HELLO_Address *address);
/**
@@ -138,8 +138,8 @@ typedef void
* @param cb_cls closure for @a cb
*/
void
-GST_validation_get_addresses (const struct GNUNET_PeerIdentity *target,
- GST_ValidationAddressCallback cb, void *cb_cls);
+GST_validation_get_addresses(const struct GNUNET_PeerIdentity *target,
+ GST_ValidationAddressCallback cb, void *cb_cls);
#endif