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.
* @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,
* @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,
* @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,
* 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;