From ea643e446372405a6ded9b482dc4481be32d8bfd Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 11 Feb 2012 15:56:33 +0000 Subject: [PATCH] -doxygen fixes --- src/dns/gnunet-service-dns.c | 4 ++-- src/exit/gnunet-daemon-exit.c | 5 +++-- src/fs/gnunet-helper-fs-publish.c | 1 - src/include/gnunet_disk_lib.h | 2 +- src/include/gnunet_fs_service.h | 2 +- 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; /** * We're done with a RequestSocket, close it for now. * - * @param rr request to clean up + * @param rs request socket to clean up */ static void cleanup_rs (struct RequestSocket *rs) @@ -950,7 +950,7 @@ transmit_reply_to_mesh (void *cls, * if we have a valid, matching, pending request. * * @param dnsout socket to read from - * @param GNUNET_OK on success, GNUNET_NO on drop, GNUNET_SYSERR on IO-errors (closed socket) + * @return GNUNET_OK on success, GNUNET_NO on drop, GNUNET_SYSERR on IO-errors (closed socket) */ static int 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) * @param tcp_header skeleton of the TCP header, NULL for UDP * @param src_address source address to use (IP and port) * @param dst_address destination address to use (IP and port) - * @param pkt6 where to write the assembled packet; must + * @param pkt4 where to write the assembled packet; must * contain enough space for the IP header, UDP/TCP header * AND the payload */ @@ -1356,6 +1356,7 @@ prepare_ipv4_packet (const void *payload, size_t payload_length, * TCP header, depending on protocol) * @param payload_length number of bytes in 'payload' * @param protocol IPPROTO_UDP or IPPROTO_TCP + * @param tcp_header skeleton TCP header data to send, NULL for UDP * @param src_address source address to use (IP and port) * @param dst_address destination address to use (IP and port) * @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, static void * new_tunnel (void *cls GNUNET_UNUSED, struct GNUNET_MESH_Tunnel *tunnel, const struct GNUNET_PeerIdentity *initiator GNUNET_UNUSED, - const struct GNUNET_ATS_Information *ats GNUNET_UNUSED) + const struct GNUNET_ATS_Information *atsi GNUNET_UNUSED) { struct TunnelState *s = GNUNET_malloc (sizeof (struct TunnelState)); 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, /** * Extract metadata from files. * - * @param ds directory scanner context * @param item entry we are processing * @return GNUNET_OK on success, GNUNET_SYSERR on fatal errors */ 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, * @param dirName the name of the directory * @param callback the method to call for each file * @param callback_cls closure for callback - * @return GNUNET_YES if directory is not empty and @callback + * @return GNUNET_YES if directory is not empty and 'callback' * will be called later, GNUNET_NO otherwise, GNUNET_SYSERR on error. */ 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; * Start a directory scanner. * * @param filename name of the directory to scan - * @param GNUNET_YES to not to run libextractor on files (only build a tree) + * @param disable_extractor GNUNET_YES to not to run libextractor on files (only build a tree) * @param ex if not NULL, must be a list of extra plugins for extractor * @param cb the callback to call when there are scanning progress messages * @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 @@ /* This file is part of GNUnet. - (C) 2010 Christian Grothoff + (C) 2010, 2012 Christian Grothoff GNUnet is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published @@ -19,11 +19,12 @@ */ /** - * @file vpn/gnunet-daemon-vpn.c - * @brief the helper for various vpn-daemons. Opens a virtual network-interface, + * @file vpn/gnunet-helper-vpn.c + * @brief the helper for the VPN service. Opens a virtual network-interface, * sends data received on the if to stdout, sends data received on stdin to the * interface * @author Philipp Tölke + * @author Christian Grothoff * * The following list of people have reviewed this code and considered * it safe since the last modification (if you reviewed it, please -- 2.25.1