diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/dns/gnunet-service-dns.c | 4 | ||||
-rw-r--r-- | src/exit/gnunet-daemon-exit.c | 5 | ||||
-rw-r--r-- | src/fs/gnunet-helper-fs-publish.c | 1 | ||||
-rw-r--r-- | src/include/gnunet_disk_lib.h | 2 | ||||
-rw-r--r-- | src/include/gnunet_fs_service.h | 2 | ||||
-rw-r--r-- | src/vpn/gnunet-helper-vpn.c | 7 |
6 files changed, 11 insertions, 10 deletions
diff --git a/src/dns/gnunet-service-dns.c b/src/dns/gnunet-service-dns.c index 46cc1a30c..463176fbc 100644 --- a/src/dns/gnunet-service-dns.c +++ b/src/dns/gnunet-service-dns.c | |||
@@ -359,7 +359,7 @@ static struct GNUNET_MESH_Handle *mesh; | |||
359 | /** | 359 | /** |
360 | * We're done with a RequestSocket, close it for now. | 360 | * We're done with a RequestSocket, close it for now. |
361 | * | 361 | * |
362 | * @param rr request to clean up | 362 | * @param rs request socket to clean up |
363 | */ | 363 | */ |
364 | static void | 364 | static void |
365 | cleanup_rs (struct RequestSocket *rs) | 365 | cleanup_rs (struct RequestSocket *rs) |
@@ -950,7 +950,7 @@ transmit_reply_to_mesh (void *cls, | |||
950 | * if we have a valid, matching, pending request. | 950 | * if we have a valid, matching, pending request. |
951 | * | 951 | * |
952 | * @param dnsout socket to read from | 952 | * @param dnsout socket to read from |
953 | * @param GNUNET_OK on success, GNUNET_NO on drop, GNUNET_SYSERR on IO-errors (closed socket) | 953 | * @return GNUNET_OK on success, GNUNET_NO on drop, GNUNET_SYSERR on IO-errors (closed socket) |
954 | */ | 954 | */ |
955 | static int | 955 | static int |
956 | do_dns_read (struct GNUNET_NETWORK_Handle *dnsout) | 956 | do_dns_read (struct GNUNET_NETWORK_Handle *dnsout) |
diff --git a/src/exit/gnunet-daemon-exit.c b/src/exit/gnunet-daemon-exit.c index a956bfa1a..3d94c9dba 100644 --- a/src/exit/gnunet-daemon-exit.c +++ b/src/exit/gnunet-daemon-exit.c | |||
@@ -1271,7 +1271,7 @@ setup_state_record (struct TunnelState *state) | |||
1271 | * @param tcp_header skeleton of the TCP header, NULL for UDP | 1271 | * @param tcp_header skeleton of the TCP header, NULL for UDP |
1272 | * @param src_address source address to use (IP and port) | 1272 | * @param src_address source address to use (IP and port) |
1273 | * @param dst_address destination address to use (IP and port) | 1273 | * @param dst_address destination address to use (IP and port) |
1274 | * @param pkt6 where to write the assembled packet; must | 1274 | * @param pkt4 where to write the assembled packet; must |
1275 | * contain enough space for the IP header, UDP/TCP header | 1275 | * contain enough space for the IP header, UDP/TCP header |
1276 | * AND the payload | 1276 | * AND the payload |
1277 | */ | 1277 | */ |
@@ -1356,6 +1356,7 @@ prepare_ipv4_packet (const void *payload, size_t payload_length, | |||
1356 | * TCP header, depending on protocol) | 1356 | * TCP header, depending on protocol) |
1357 | * @param payload_length number of bytes in 'payload' | 1357 | * @param payload_length number of bytes in 'payload' |
1358 | * @param protocol IPPROTO_UDP or IPPROTO_TCP | 1358 | * @param protocol IPPROTO_UDP or IPPROTO_TCP |
1359 | * @param tcp_header skeleton TCP header data to send, NULL for UDP | ||
1359 | * @param src_address source address to use (IP and port) | 1360 | * @param src_address source address to use (IP and port) |
1360 | * @param dst_address destination address to use (IP and port) | 1361 | * @param dst_address destination address to use (IP and port) |
1361 | * @param pkt6 where to write the assembled packet; must | 1362 | * @param pkt6 where to write the assembled packet; must |
@@ -2651,7 +2652,7 @@ receive_udp_service (void *cls GNUNET_UNUSED, struct GNUNET_MESH_Tunnel *tunnel, | |||
2651 | static void * | 2652 | static void * |
2652 | new_tunnel (void *cls GNUNET_UNUSED, struct GNUNET_MESH_Tunnel *tunnel, | 2653 | new_tunnel (void *cls GNUNET_UNUSED, struct GNUNET_MESH_Tunnel *tunnel, |
2653 | const struct GNUNET_PeerIdentity *initiator GNUNET_UNUSED, | 2654 | const struct GNUNET_PeerIdentity *initiator GNUNET_UNUSED, |
2654 | const struct GNUNET_ATS_Information *ats GNUNET_UNUSED) | 2655 | const struct GNUNET_ATS_Information *atsi GNUNET_UNUSED) |
2655 | { | 2656 | { |
2656 | struct TunnelState *s = GNUNET_malloc (sizeof (struct TunnelState)); | 2657 | struct TunnelState *s = GNUNET_malloc (sizeof (struct TunnelState)); |
2657 | 2658 | ||
diff --git a/src/fs/gnunet-helper-fs-publish.c b/src/fs/gnunet-helper-fs-publish.c index 546c2ba88..46460248d 100644 --- a/src/fs/gnunet-helper-fs-publish.c +++ b/src/fs/gnunet-helper-fs-publish.c | |||
@@ -326,7 +326,6 @@ preprocess_file (const char *filename, | |||
326 | /** | 326 | /** |
327 | * Extract metadata from files. | 327 | * Extract metadata from files. |
328 | * | 328 | * |
329 | * @param ds directory scanner context | ||
330 | * @param item entry we are processing | 329 | * @param item entry we are processing |
331 | * @return GNUNET_OK on success, GNUNET_SYSERR on fatal errors | 330 | * @return GNUNET_OK on success, GNUNET_SYSERR on fatal errors |
332 | */ | 331 | */ |
diff --git a/src/include/gnunet_disk_lib.h b/src/include/gnunet_disk_lib.h index 75f64cf2e..9c88a163b 100644 --- a/src/include/gnunet_disk_lib.h +++ b/src/include/gnunet_disk_lib.h | |||
@@ -604,7 +604,7 @@ GNUNET_DISK_directory_iterator_next (struct GNUNET_DISK_DirectoryIterator *iter, | |||
604 | * @param dirName the name of the directory | 604 | * @param dirName the name of the directory |
605 | * @param callback the method to call for each file | 605 | * @param callback the method to call for each file |
606 | * @param callback_cls closure for callback | 606 | * @param callback_cls closure for callback |
607 | * @return GNUNET_YES if directory is not empty and @callback | 607 | * @return GNUNET_YES if directory is not empty and 'callback' |
608 | * will be called later, GNUNET_NO otherwise, GNUNET_SYSERR on error. | 608 | * will be called later, GNUNET_NO otherwise, GNUNET_SYSERR on error. |
609 | */ | 609 | */ |
610 | int | 610 | int |
diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h index 9707a8eb7..bfaa98364 100644 --- a/src/include/gnunet_fs_service.h +++ b/src/include/gnunet_fs_service.h | |||
@@ -2710,7 +2710,7 @@ struct GNUNET_FS_DirScanner; | |||
2710 | * Start a directory scanner. | 2710 | * Start a directory scanner. |
2711 | * | 2711 | * |
2712 | * @param filename name of the directory to scan | 2712 | * @param filename name of the directory to scan |
2713 | * @param GNUNET_YES to not to run libextractor on files (only build a tree) | 2713 | * @param disable_extractor GNUNET_YES to not to run libextractor on files (only build a tree) |
2714 | * @param ex if not NULL, must be a list of extra plugins for extractor | 2714 | * @param ex if not NULL, must be a list of extra plugins for extractor |
2715 | * @param cb the callback to call when there are scanning progress messages | 2715 | * @param cb the callback to call when there are scanning progress messages |
2716 | * @param cb_cls closure for 'cb' | 2716 | * @param cb_cls closure for 'cb' |
diff --git a/src/vpn/gnunet-helper-vpn.c b/src/vpn/gnunet-helper-vpn.c index 5903255f8..7c09827ee 100644 --- a/src/vpn/gnunet-helper-vpn.c +++ b/src/vpn/gnunet-helper-vpn.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet. | 2 | This file is part of GNUnet. |
3 | (C) 2010 Christian Grothoff | 3 | (C) 2010, 2012 Christian Grothoff |
4 | 4 | ||
5 | GNUnet is free software; you can redistribute it and/or modify | 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 | 6 | it under the terms of the GNU General Public License as published |
@@ -19,11 +19,12 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @file vpn/gnunet-daemon-vpn.c | 22 | * @file vpn/gnunet-helper-vpn.c |
23 | * @brief the helper for various vpn-daemons. Opens a virtual network-interface, | 23 | * @brief the helper for the VPN service. Opens a virtual network-interface, |
24 | * sends data received on the if to stdout, sends data received on stdin to the | 24 | * sends data received on the if to stdout, sends data received on stdin to the |
25 | * interface | 25 | * interface |
26 | * @author Philipp Tölke | 26 | * @author Philipp Tölke |
27 | * @author Christian Grothoff | ||
27 | * | 28 | * |
28 | * The following list of people have reviewed this code and considered | 29 | * The following list of people have reviewed this code and considered |
29 | * it safe since the last modification (if you reviewed it, please | 30 | * it safe since the last modification (if you reviewed it, please |