From 311e9e5636fdd21172f9bca63cc8746c654ae526 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 23 Dec 2010 13:23:15 +0000 Subject: [PATCH] doxygen --- src/monkey/gdbmi_get_free_pty.c | 2 +- src/nat/upnp-commands.c | 2 +- src/nat/upnp-commands.h | 4 ++-- src/transport/plugin_transport_wlan.c | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/monkey/gdbmi_get_free_pty.c b/src/monkey/gdbmi_get_free_pty.c index 47ddbd628..4274c7826 100644 --- a/src/monkey/gdbmi_get_free_pty.c +++ b/src/monkey/gdbmi_get_free_pty.c @@ -34,7 +34,7 @@ Description: Look for a free and usable pseudo terminal. Low level, use -@x{gmi_look_for_free_pty}. + gmi_look_for_free_pty(). Return: A file descriptor connected to the master pty and the name of the slave device, or <0 on error. diff --git a/src/nat/upnp-commands.c b/src/nat/upnp-commands.c index 2d9ca6243..2a88f90f4 100644 --- a/src/nat/upnp-commands.c +++ b/src/nat/upnp-commands.c @@ -180,7 +180,7 @@ get_content_len_from_line (const char *p, int n) * @param p HTML to parse * @param n size of p * @param content_len pointer to store content length to - * @param content_len pointer to store header length to + * @param header_len pointer to store header length to */ static void get_content_and_header_len (const char *p, int n, diff --git a/src/nat/upnp-commands.h b/src/nat/upnp-commands.h index 3d1ebe496..ea7b48162 100644 --- a/src/nat/upnp-commands.h +++ b/src/nat/upnp-commands.h @@ -215,7 +215,7 @@ UPNP_add_port_mapping_ (const char *control_url, const char *service_type, * @param proto protocol for which port mapping was requested * @param remote_host remote host for which port mapping was requested * @param caller_cb function to call when done - * @param cls closure passed to caller_cb + * @param caller_cls closure passed to caller_cb */ void UPNP_delete_port_mapping_ (const char *control_url, const char *service_type, @@ -258,7 +258,7 @@ typedef void (*UPNP_get_specific_port_mapping_entry_cb_) (int error, * @param ext_port external port * @param proto protocol for which port mapping was requested * @param caller_cb function to call when done - * @param callers_cls closure passed to caller_cb + * @param caller_cls closure passed to caller_cb */ void UPNP_get_specific_port_mapping_entry_ (const char *control_url, diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c index 003a77248..3459f456c 100644 --- a/src/transport/plugin_transport_wlan.c +++ b/src/transport/plugin_transport_wlan.c @@ -1987,13 +1987,13 @@ wlan_plugin_helper_read (void *cls, * Start the gnunet-wlan-helper process. * * @param plugin the transport plugin - * + * @param testmode should we use the dummy driver for testing? * @return GNUNET_YES if process was started, GNUNET_SYSERR on error */ static int wlan_transport_start_wlan_helper(struct Plugin *plugin, int testmode) { - char * filename = "gnunet-transport-wlan-helper"; + const char * filename = "gnunet-transport-wlan-helper"; plugin->server_stdout = GNUNET_DISK_pipe(GNUNET_YES, GNUNET_NO, GNUNET_YES); if (plugin->server_stdout == NULL) return GNUNET_SYSERR; -- 2.25.1