aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-01-25 16:42:00 +0000
committerChristian Grothoff <christian@grothoff.org>2012-01-25 16:42:00 +0000
commit6f8eede98c272b7312ff0e08b182f0a39b2846b9 (patch)
tree4587372a32aec7968f63a734241f8e21eaa89330 /src
parent084348cf917b4c117070f9811d8b9f9786d2d3fc (diff)
downloadgnunet-6f8eede98c272b7312ff0e08b182f0a39b2846b9.tar.gz
gnunet-6f8eede98c272b7312ff0e08b182f0a39b2846b9.zip
-doxygen fixes
Diffstat (limited to 'src')
-rw-r--r--src/dns/dns_api.c2
-rw-r--r--src/dns/gnunet-dns-monitor.c4
-rw-r--r--src/dns/gnunet-dns-redirector.c4
-rw-r--r--src/dns/gnunet-service-dns.c2
-rw-r--r--src/dns/plugin_block_dns.c2
-rw-r--r--src/exit/gnunet-daemon-exit.c5
-rw-r--r--src/fs/fs_dirmetascan.c4
-rw-r--r--src/fs/gnunet-service-fs_cp.c1
-rw-r--r--src/fs/gnunet-service-fs_pe.c4
-rw-r--r--src/fs/gnunet-service-fs_pe.h4
-rw-r--r--src/include/gnunet_common.h4
-rw-r--r--src/include/gnunet_disk_lib.h4
-rw-r--r--src/include/gnunet_dns_service.h2
-rw-r--r--src/include/gnunet_dnsparser_lib.h2
-rw-r--r--src/include/gnunet_tun_lib.h8
-rw-r--r--src/testing/gnunet-testing.c2
-rw-r--r--src/tun/tun.c8
-rw-r--r--src/util/common_endian.c2
-rw-r--r--src/util/disk.c6
-rw-r--r--src/util/helper.c8
-rw-r--r--src/vpn/gnunet-service-vpn.c3
21 files changed, 43 insertions, 38 deletions
diff --git a/src/dns/dns_api.c b/src/dns/dns_api.c
index dfce0af1b..a280265da 100644
--- a/src/dns/dns_api.c
+++ b/src/dns/dns_api.c
@@ -19,7 +19,7 @@
19 */ 19 */
20 20
21/** 21/**
22 * @file dns/dns_api_new.c 22 * @file dns/dns_api.c
23 * @brief API to access the DNS service. 23 * @brief API to access the DNS service.
24 * @author Christian Grothoff 24 * @author Christian Grothoff
25 */ 25 */
diff --git a/src/dns/gnunet-dns-monitor.c b/src/dns/gnunet-dns-monitor.c
index 3c7f31985..82715aabc 100644
--- a/src/dns/gnunet-dns-monitor.c
+++ b/src/dns/gnunet-dns-monitor.c
@@ -119,9 +119,9 @@ display_query (const struct GNUNET_DNSPARSER_Query *query)
119 119
120 120
121/** 121/**
122 * Output the given DNS query to stdout. 122 * Output the given DNS record to stdout.
123 * 123 *
124 * @param query query to display. 124 * @param record record to display.
125 */ 125 */
126static void 126static void
127display_record (const struct GNUNET_DNSPARSER_Record *record) 127display_record (const struct GNUNET_DNSPARSER_Record *record)
diff --git a/src/dns/gnunet-dns-redirector.c b/src/dns/gnunet-dns-redirector.c
index cea8f5be9..a45b89609 100644
--- a/src/dns/gnunet-dns-redirector.c
+++ b/src/dns/gnunet-dns-redirector.c
@@ -56,9 +56,9 @@ static int verbosity;
56 56
57 57
58/** 58/**
59 * Output the given DNS query to stdout. 59 * Modify the given DNS record.
60 * 60 *
61 * @param query query to display. 61 * @param record record to modify
62 */ 62 */
63static void 63static void
64modify_record (const struct GNUNET_DNSPARSER_Record *record) 64modify_record (const struct GNUNET_DNSPARSER_Record *record)
diff --git a/src/dns/gnunet-service-dns.c b/src/dns/gnunet-service-dns.c
index 6370e95a6..17f60749e 100644
--- a/src/dns/gnunet-service-dns.c
+++ b/src/dns/gnunet-service-dns.c
@@ -1373,7 +1373,7 @@ receive_dns_request (void *cls GNUNET_UNUSED, struct GNUNET_MESH_Tunnel *tunnel,
1373 * @param cls closure 1373 * @param cls closure
1374 * @param tunnel new handle to the tunnel 1374 * @param tunnel new handle to the tunnel
1375 * @param initiator peer that started the tunnel 1375 * @param initiator peer that started the tunnel
1376 * @param atsi performance information for the tunnel 1376 * @param ats performance information for the tunnel
1377 * @return initial tunnel context for the tunnel 1377 * @return initial tunnel context for the tunnel
1378 */ 1378 */
1379static void * 1379static void *
diff --git a/src/dns/plugin_block_dns.c b/src/dns/plugin_block_dns.c
index 34b054c8d..96a4dc04e 100644
--- a/src/dns/plugin_block_dns.c
+++ b/src/dns/plugin_block_dns.c
@@ -19,7 +19,7 @@
19*/ 19*/
20 20
21/** 21/**
22 * @file vpn/plugin_block_dns.c 22 * @file dns/plugin_block_dns.c
23 * @brief block plugin for storing .gnunet-bindings 23 * @brief block plugin for storing .gnunet-bindings
24 * @author Philipp Tölke 24 * @author Philipp Tölke
25 */ 25 */
diff --git a/src/exit/gnunet-daemon-exit.c b/src/exit/gnunet-daemon-exit.c
index 61c719e5d..dc9991422 100644
--- a/src/exit/gnunet-daemon-exit.c
+++ b/src/exit/gnunet-daemon-exit.c
@@ -1263,6 +1263,7 @@ setup_state_record (struct TunnelState *state)
1263 * TCP header, depending on protocol) 1263 * TCP header, depending on protocol)
1264 * @param payload_length number of bytes in 'payload' 1264 * @param payload_length number of bytes in 'payload'
1265 * @param protocol IPPROTO_UDP or IPPROTO_TCP 1265 * @param protocol IPPROTO_UDP or IPPROTO_TCP
1266 * @param tcp_header skeleton of the TCP header, NULL for UDP
1266 * @param src_address source address to use (IP and port) 1267 * @param src_address source address to use (IP and port)
1267 * @param dst_address destination address to use (IP and port) 1268 * @param dst_address destination address to use (IP and port)
1268 * @param pkt6 where to write the assembled packet; must 1269 * @param pkt6 where to write the assembled packet; must
@@ -1439,7 +1440,7 @@ prepare_ipv6_packet (const void *payload, size_t payload_length,
1439 * 1440 *
1440 * @param destination_address IP and port to use for the TCP packet's destination 1441 * @param destination_address IP and port to use for the TCP packet's destination
1441 * @param source_address IP and port to use for the TCP packet's source 1442 * @param source_address IP and port to use for the TCP packet's source
1442 * @param tcp header template to use 1443 * @param tcp_header header template to use
1443 * @param payload payload of the TCP packet 1444 * @param payload payload of the TCP packet
1444 * @param payload_length number of bytes in 'payload' 1445 * @param payload_length number of bytes in 'payload'
1445 */ 1446 */
@@ -1541,7 +1542,7 @@ send_tcp_packet_via_tun (const struct SocketAddress *destination_address,
1541 * GNUNET_SYSERR to close it (signal serious error) 1542 * GNUNET_SYSERR to close it (signal serious error)
1542 */ 1543 */
1543static int 1544static int
1544receive_tcp_service (void *unused GNUNET_UNUSED, struct GNUNET_MESH_Tunnel *tunnel, 1545receive_tcp_service (void *cls GNUNET_UNUSED, struct GNUNET_MESH_Tunnel *tunnel,
1545 void **tunnel_ctx GNUNET_UNUSED, 1546 void **tunnel_ctx GNUNET_UNUSED,
1546 const struct GNUNET_PeerIdentity *sender GNUNET_UNUSED, 1547 const struct GNUNET_PeerIdentity *sender GNUNET_UNUSED,
1547 const struct GNUNET_MessageHeader *message, 1548 const struct GNUNET_MessageHeader *message,
diff --git a/src/fs/fs_dirmetascan.c b/src/fs/fs_dirmetascan.c
index 0459ca009..8700a69f1 100644
--- a/src/fs/fs_dirmetascan.c
+++ b/src/fs/fs_dirmetascan.c
@@ -341,7 +341,7 @@ should_stop (struct AddDirContext *adc)
341/** 341/**
342 * Write progress message. 342 * Write progress message.
343 * Format is: 343 * Format is:
344 * <reason><filename length><filename><directory flag> 344 * "reason", "filename length", "filename", "directory flag"
345 * If filename is NULL, filename is not written, and its length 345 * If filename is NULL, filename is not written, and its length
346 * is written as 0, and nothing else is written. It signals the initiator 346 * is written as 0, and nothing else is written. It signals the initiator
347 * thread that the scanner is finished, and that it can now join its thread. 347 * thread that the scanner is finished, and that it can now join its thread.
@@ -540,7 +540,7 @@ make_item (struct GNUNET_FS_ShareTreeItem *parent)
540/** 540/**
541 * Extract metadata from a file and add it to the share tree 541 * Extract metadata from a file and add it to the share tree
542 * 542 *
543 * @param adc context to modify 543 * @param ads context to modify
544 * @param filename name of the file to process 544 * @param filename name of the file to process
545 */ 545 */
546static void 546static void
diff --git a/src/fs/gnunet-service-fs_cp.c b/src/fs/gnunet-service-fs_cp.c
index ba6a8ce87..86986b899 100644
--- a/src/fs/gnunet-service-fs_cp.c
+++ b/src/fs/gnunet-service-fs_cp.c
@@ -875,6 +875,7 @@ get_randomized_delay ()
875 * @param pr handle to the original pending request 875 * @param pr handle to the original pending request
876 * @param reply_anonymity_level anonymity level for the reply, UINT32_MAX for "unknown" 876 * @param reply_anonymity_level anonymity level for the reply, UINT32_MAX for "unknown"
877 * @param expiration when does 'data' expire? 877 * @param expiration when does 'data' expire?
878 * @param last_transmission when did we last transmit a request for this block
878 * @param type type of the block 879 * @param type type of the block
879 * @param data response data, NULL on request expiration 880 * @param data response data, NULL on request expiration
880 * @param data_len number of bytes in data 881 * @param data_len number of bytes in data
diff --git a/src/fs/gnunet-service-fs_pe.c b/src/fs/gnunet-service-fs_pe.c
index 78769fa82..f1d87db01 100644
--- a/src/fs/gnunet-service-fs_pe.c
+++ b/src/fs/gnunet-service-fs_pe.c
@@ -701,12 +701,12 @@ GSF_plan_notify_peer_disconnect_ (const struct GSF_ConnectedPeer *cp)
701 701
702/** 702/**
703 * Get the last transmission attempt time for the request plan list 703 * Get the last transmission attempt time for the request plan list
704 * referenced by @rpr_head, that was sent to @sender 704 * referenced by 'rpr_head', that was sent to 'sender'
705 * 705 *
706 * @param rpr_head request plan reference list to check. 706 * @param rpr_head request plan reference list to check.
707 * @param sender the peer that we've sent the request to. 707 * @param sender the peer that we've sent the request to.
708 * @param result the timestamp to fill. 708 * @param result the timestamp to fill.
709 * @return GNUNET_YES if @result was changed, GNUNET_NO otherwise. 709 * @return GNUNET_YES if 'result' was changed, GNUNET_NO otherwise.
710 */ 710 */
711int 711int
712GSF_request_plan_reference_get_last_transmission_ ( 712GSF_request_plan_reference_get_last_transmission_ (
diff --git a/src/fs/gnunet-service-fs_pe.h b/src/fs/gnunet-service-fs_pe.h
index da20a7d7b..3a18715ca 100644
--- a/src/fs/gnunet-service-fs_pe.h
+++ b/src/fs/gnunet-service-fs_pe.h
@@ -60,12 +60,12 @@ GSF_plan_notify_request_done_ (struct GSF_PendingRequest *pr);
60 60
61/** 61/**
62 * Get the last transmission attempt time for the request plan list 62 * Get the last transmission attempt time for the request plan list
63 * referenced by @rpr_head, that was sent to @sender 63 * referenced by 'rpr_head', that was sent to 'sender'
64 * 64 *
65 * @param rpr_head request plan reference list to check. 65 * @param rpr_head request plan reference list to check.
66 * @param sender the peer that we've sent the request to. 66 * @param sender the peer that we've sent the request to.
67 * @param result the timestamp to fill. 67 * @param result the timestamp to fill.
68 * @return GNUNET_YES if @result was changed, GNUNET_NO otherwise. 68 * @return GNUNET_YES if 'result' was changed, GNUNET_NO otherwise.
69 */ 69 */
70int 70int
71GSF_request_plan_reference_get_last_transmission_ ( 71GSF_request_plan_reference_get_last_transmission_ (
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h
index 7c587a782..04847ee5b 100644
--- a/src/include/gnunet_common.h
+++ b/src/include/gnunet_common.h
@@ -507,7 +507,7 @@ GNUNET_htonll (uint64_t n);
507 * @return the same value in host byte order 507 * @return the same value in host byte order
508 */ 508 */
509double 509double
510GNUNET_hton_double (double in); 510GNUNET_hton_double (double d);
511 511
512/** 512/**
513 * Convert double to host-byte-order 513 * Convert double to host-byte-order
@@ -515,7 +515,7 @@ GNUNET_hton_double (double in);
515 * @return the same value in host byte order 515 * @return the same value in host byte order
516 */ 516 */
517double 517double
518GNUNET_ntoh_double (double in); 518GNUNET_ntoh_double (double d);
519 519
520/* ************************* allocation functions ****************** */ 520/* ************************* allocation functions ****************** */
521 521
diff --git a/src/include/gnunet_disk_lib.h b/src/include/gnunet_disk_lib.h
index 46dd7c4c4..25f972b5b 100644
--- a/src/include/gnunet_disk_lib.h
+++ b/src/include/gnunet_disk_lib.h
@@ -389,7 +389,9 @@ GNUNET_DISK_file_handle_size (struct GNUNET_DISK_FileHandle *fh,
389 389
390/** 390/**
391 * Creates an interprocess channel 391 * Creates an interprocess channel
392 * @param blocking creates an asynchronous pipe if set to GNUNET_NO 392 *
393 * @param blocking_read creates an asynchronous pipe for reading if set to GNUNET_NO
394 * @param blocking_write creates an asynchronous pipe for writing if set to GNUNET_NO
393 * @param inherit_read 1 to make read handle inheritable, 0 otherwise (NT only) 395 * @param inherit_read 1 to make read handle inheritable, 0 otherwise (NT only)
394 * @param inherit_write 1 to make write handle inheritable, 0 otherwise (NT only) 396 * @param inherit_write 1 to make write handle inheritable, 0 otherwise (NT only)
395 * @return handle to the new pipe, NULL on error 397 * @return handle to the new pipe, NULL on error
diff --git a/src/include/gnunet_dns_service.h b/src/include/gnunet_dns_service.h
index 3517a4609..a822b06ae 100644
--- a/src/include/gnunet_dns_service.h
+++ b/src/include/gnunet_dns_service.h
@@ -19,7 +19,7 @@
19 */ 19 */
20 20
21/** 21/**
22 * @file include/gnunet_dns_service-new.h 22 * @file include/gnunet_dns_service.h
23 * @brief API to access the DNS service. 23 * @brief API to access the DNS service.
24 * @author Christian Grothoff 24 * @author Christian Grothoff
25 */ 25 */
diff --git a/src/include/gnunet_dnsparser_lib.h b/src/include/gnunet_dnsparser_lib.h
index a1fb920a7..0c310ba00 100644
--- a/src/include/gnunet_dnsparser_lib.h
+++ b/src/include/gnunet_dnsparser_lib.h
@@ -19,7 +19,7 @@
19 */ 19 */
20 20
21/** 21/**
22 * @file include/gnunet_dnsparse_lib.h 22 * @file include/gnunet_dnsparser_lib.h
23 * @brief API for helper library to parse DNS packets. 23 * @brief API for helper library to parse DNS packets.
24 * @author Philipp Toelke 24 * @author Philipp Toelke
25 * @author Christian Grothoff 25 * @author Christian Grothoff
diff --git a/src/include/gnunet_tun_lib.h b/src/include/gnunet_tun_lib.h
index 9cc58e85c..b02c6c02e 100644
--- a/src/include/gnunet_tun_lib.h
+++ b/src/include/gnunet_tun_lib.h
@@ -241,7 +241,7 @@ GNUNET_TUN_initialize_ipv6_header (struct GNUNET_TUN_IPv6Header *ip,
241/** 241/**
242 * Calculate IPv4 TCP checksum. 242 * Calculate IPv4 TCP checksum.
243 * 243 *
244 * @param ipv4 header fully initialized 244 * @param ip ipv4 header fully initialized
245 * @param tcp TCP header (initialized except for CRC) 245 * @param tcp TCP header (initialized except for CRC)
246 * @param payload the TCP payload 246 * @param payload the TCP payload
247 * @param payload_length number of bytes of TCP payload 247 * @param payload_length number of bytes of TCP payload
@@ -255,7 +255,7 @@ GNUNET_TUN_calculate_tcp4_checksum (const struct GNUNET_TUN_IPv4Header *ip,
255/** 255/**
256 * Calculate IPv6 TCP checksum. 256 * Calculate IPv6 TCP checksum.
257 * 257 *
258 * @param ipv6 header fully initialized 258 * @param ip ipv6 header fully initialized
259 * @param tcp TCP header (initialized except for CRC) 259 * @param tcp TCP header (initialized except for CRC)
260 * @param payload the TCP payload 260 * @param payload the TCP payload
261 * @param payload_length number of bytes of TCP payload 261 * @param payload_length number of bytes of TCP payload
@@ -269,7 +269,7 @@ GNUNET_TUN_calculate_tcp6_checksum (const struct GNUNET_TUN_IPv6Header *ip,
269/** 269/**
270 * Calculate IPv4 UDP checksum. 270 * Calculate IPv4 UDP checksum.
271 * 271 *
272 * @param ipv4 header fully initialized 272 * @param ip ipv4 header fully initialized
273 * @param udp UDP header (initialized except for CRC) 273 * @param udp UDP header (initialized except for CRC)
274 * @param payload the UDP payload 274 * @param payload the UDP payload
275 * @param payload_length number of bytes of UDP payload 275 * @param payload_length number of bytes of UDP payload
@@ -284,7 +284,7 @@ GNUNET_TUN_calculate_udp4_checksum (const struct GNUNET_TUN_IPv4Header *ip,
284/** 284/**
285 * Calculate IPv6 UDP checksum. 285 * Calculate IPv6 UDP checksum.
286 * 286 *
287 * @param ipv6 header fully initialized 287 * @param ip ipv6 header fully initialized
288 * @param udp UDP header (initialized except for CRC) 288 * @param udp UDP header (initialized except for CRC)
289 * @param payload the UDP payload 289 * @param payload the UDP payload
290 * @param payload_length number of bytes of UDP payload 290 * @param payload_length number of bytes of UDP payload
diff --git a/src/testing/gnunet-testing.c b/src/testing/gnunet-testing.c
index 1c518fef9..f5d7ab36c 100644
--- a/src/testing/gnunet-testing.c
+++ b/src/testing/gnunet-testing.c
@@ -19,7 +19,7 @@
19*/ 19*/
20 20
21/** 21/**
22 * @file template/gnunet-testing.c 22 * @file testing/gnunet-testing.c
23 * @brief tool to use testing functionality from cmd line 23 * @brief tool to use testing functionality from cmd line
24 * @author Christian Grothoff 24 * @author Christian Grothoff
25 */ 25 */
diff --git a/src/tun/tun.c b/src/tun/tun.c
index 4c2ddf07a..12781798c 100644
--- a/src/tun/tun.c
+++ b/src/tun/tun.c
@@ -99,7 +99,7 @@ GNUNET_TUN_initialize_ipv6_header (struct GNUNET_TUN_IPv6Header *ip,
99/** 99/**
100 * Calculate IPv4 TCP checksum. 100 * Calculate IPv4 TCP checksum.
101 * 101 *
102 * @param ipv4 header fully initialized 102 * @param ip ipv4 header fully initialized
103 * @param tcp TCP header (initialized except for CRC) 103 * @param tcp TCP header (initialized except for CRC)
104 * @param payload the TCP payload 104 * @param payload the TCP payload
105 * @param payload_length number of bytes of TCP payload 105 * @param payload_length number of bytes of TCP payload
@@ -132,7 +132,7 @@ GNUNET_TUN_calculate_tcp4_checksum (const struct GNUNET_TUN_IPv4Header *ip,
132/** 132/**
133 * Calculate IPv6 TCP checksum. 133 * Calculate IPv6 TCP checksum.
134 * 134 *
135 * @param ipv6 header fully initialized 135 * @param ip ipv6 header fully initialized
136 * @param tcp header (initialized except for CRC) 136 * @param tcp header (initialized except for CRC)
137 * @param payload the TCP payload 137 * @param payload the TCP payload
138 * @param payload_length number of bytes of TCP payload 138 * @param payload_length number of bytes of TCP payload
@@ -165,7 +165,7 @@ GNUNET_TUN_calculate_tcp6_checksum (const struct GNUNET_TUN_IPv6Header *ip,
165/** 165/**
166 * Calculate IPv4 UDP checksum. 166 * Calculate IPv4 UDP checksum.
167 * 167 *
168 * @param ipv4 header fully initialized 168 * @param ip ipv4 header fully initialized
169 * @param udp UDP header (initialized except for CRC) 169 * @param udp UDP header (initialized except for CRC)
170 * @param payload the UDP payload 170 * @param payload the UDP payload
171 * @param payload_length number of bytes of UDP payload 171 * @param payload_length number of bytes of UDP payload
@@ -208,7 +208,7 @@ GNUNET_TUN_calculate_udp4_checksum (const struct GNUNET_TUN_IPv4Header *ip,
208/** 208/**
209 * Calculate IPv6 UDP checksum. 209 * Calculate IPv6 UDP checksum.
210 * 210 *
211 * @param ipv6 header fully initialized 211 * @param ip ipv6 header fully initialized
212 * @param udp UDP header (initialized except for CRC) 212 * @param udp UDP header (initialized except for CRC)
213 * @param payload the UDP payload 213 * @param payload the UDP payload
214 * @param payload_length number of bytes of UDP payload 214 * @param payload_length number of bytes of UDP payload
diff --git a/src/util/common_endian.c b/src/util/common_endian.c
index 1a2ddd9c1..56aa7b0c4 100644
--- a/src/util/common_endian.c
+++ b/src/util/common_endian.c
@@ -52,7 +52,7 @@ GNUNET_htonll (uint64_t n)
52 52
53/** 53/**
54 * Convert double to network-byte-order. 54 * Convert double to network-byte-order.
55 * @param n the value in network byte order 55 * @param d the value in network byte order
56 * @return the same value in host byte order 56 * @return the same value in host byte order
57 */ 57 */
58double 58double
diff --git a/src/util/disk.c b/src/util/disk.c
index 7ce4f5808..a044482f1 100644
--- a/src/util/disk.c
+++ b/src/util/disk.c
@@ -1252,7 +1252,7 @@ GNUNET_DISK_directory_iterator_next (struct GNUNET_DISK_DirectoryIterator *iter,
1252 * @param dirName the name of the directory 1252 * @param dirName the name of the directory
1253 * @param callback the method to call for each file 1253 * @param callback the method to call for each file
1254 * @param callback_cls closure for callback 1254 * @param callback_cls closure for callback
1255 * @return GNUNET_YES if directory is not empty and @callback 1255 * @return GNUNET_YES if directory is not empty and 'callback'
1256 * will be called later, GNUNET_NO otherwise, GNUNET_SYSERR on error. 1256 * will be called later, GNUNET_NO otherwise, GNUNET_SYSERR on error.
1257 */ 1257 */
1258int 1258int
@@ -2113,10 +2113,10 @@ create_selectable_pipe (PHANDLE read_pipe_ptr, PHANDLE write_pipe_ptr,
2113/** 2113/**
2114 * Creates an interprocess channel 2114 * Creates an interprocess channel
2115 * 2115 *
2116 * @param blocking creates an asynchronous pipe if set to GNUNET_NO 2116 * @param blocking_read creates an asynchronous pipe for reading if set to GNUNET_NO
2117 * @param blocking_write creates an asynchronous pipe for writing if set to GNUNET_NO
2117 * @param inherit_read inherit the parent processes stdin (only for windows) 2118 * @param inherit_read inherit the parent processes stdin (only for windows)
2118 * @param inherit_write inherit the parent processes stdout (only for windows) 2119 * @param inherit_write inherit the parent processes stdout (only for windows)
2119 *
2120 * @return handle to the new pipe, NULL on error 2120 * @return handle to the new pipe, NULL on error
2121 */ 2121 */
2122struct GNUNET_DISK_PipeHandle * 2122struct GNUNET_DISK_PipeHandle *
diff --git a/src/util/helper.c b/src/util/helper.c
index 6ebc3a444..c7e059237 100644
--- a/src/util/helper.c
+++ b/src/util/helper.c
@@ -216,14 +216,14 @@ restart_task (void *cls,
216 */ 216 */
217static void 217static void
218helper_read (void *cls, 218helper_read (void *cls,
219 const struct GNUNET_SCHEDULER_TaskContext *tsdkctx) 219 const struct GNUNET_SCHEDULER_TaskContext *tc)
220{ 220{
221 struct GNUNET_HELPER_Handle *h = cls; 221 struct GNUNET_HELPER_Handle *h = cls;
222 char buf[GNUNET_SERVER_MAX_MESSAGE_SIZE]; 222 char buf[GNUNET_SERVER_MAX_MESSAGE_SIZE];
223 ssize_t t; 223 ssize_t t;
224 224
225 h->read_task = GNUNET_SCHEDULER_NO_TASK; 225 h->read_task = GNUNET_SCHEDULER_NO_TASK;
226 if (0 != (tsdkctx->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN)) 226 if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN))
227 { 227 {
228 /* try again */ 228 /* try again */
229 h->read_task = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL, 229 h->read_task = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL,
@@ -404,7 +404,7 @@ GNUNET_HELPER_stop (struct GNUNET_HELPER_Handle *h)
404 */ 404 */
405static void 405static void
406helper_write (void *cls, 406helper_write (void *cls,
407 const struct GNUNET_SCHEDULER_TaskContext *tsdkctx) 407 const struct GNUNET_SCHEDULER_TaskContext *tc)
408{ 408{
409 struct GNUNET_HELPER_Handle *h = cls; 409 struct GNUNET_HELPER_Handle *h = cls;
410 struct HelperMessageQueueEntry *qe; 410 struct HelperMessageQueueEntry *qe;
@@ -412,7 +412,7 @@ helper_write (void *cls,
412 ssize_t t; 412 ssize_t t;
413 413
414 h->write_task = GNUNET_SCHEDULER_NO_TASK; 414 h->write_task = GNUNET_SCHEDULER_NO_TASK;
415 if (0 != (tsdkctx->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN)) 415 if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN))
416 { 416 {
417 /* try again */ 417 /* try again */
418 h->write_task = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL, 418 h->write_task = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL,
diff --git a/src/vpn/gnunet-service-vpn.c b/src/vpn/gnunet-service-vpn.c
index 4db343f6a..8f4d11bc9 100644
--- a/src/vpn/gnunet-service-vpn.c
+++ b/src/vpn/gnunet-service-vpn.c
@@ -565,7 +565,7 @@ free_tunnel_state (struct TunnelState *ts)
565 * Destroy the mesh tunnel. 565 * Destroy the mesh tunnel.
566 * 566 *
567 * @param cls the 'struct TunnelState' with the tunnel to destroy 567 * @param cls the 'struct TunnelState' with the tunnel to destroy
568 * @param ts schedule context 568 * @param tc scheduler context
569 */ 569 */
570static void 570static void
571destroy_tunnel_task (void *cls, 571destroy_tunnel_task (void *cls,
@@ -751,6 +751,7 @@ send_to_tunnel (struct TunnelMessageQueueEntry *tnq,
751 * 751 *
752 * @param de destination entry for which we need to setup a tunnel 752 * @param de destination entry for which we need to setup a tunnel
753 * @param client client to notify on successful tunnel setup, or NULL for none 753 * @param client client to notify on successful tunnel setup, or NULL for none
754 * @param client_af address family of the address returned to the client
754 * @param request_id request ID to send in client notification (unused if client is NULL) 755 * @param request_id request ID to send in client notification (unused if client is NULL)
755 * @return tunnel state of the tunnel that was created 756 * @return tunnel state of the tunnel that was created
756 */ 757 */