internal.c File Reference

#include "internal.h"
Include dependency graph for internal.c:

Go to the source code of this file.

Functions

size_t MHD_http_unescape (void *cls, struct MHD_Connection *connection, char *val)

Function Documentation

size_t MHD_http_unescape ( void *  cls,
struct MHD_Connection connection,
char *  val 
)

Process escape sequences ('+'=space, HH) Updates val in place; the result should be UTF-8 encoded and cannot be larger than the input. The result must also still be 0-terminated.

Parameters:
cls closure (use NULL)
connection handle to connection, not used
Returns:
length of the resulting val (strlen(val) maybe shorter afterwards due to elimination of escape sequences)

Definition at line 118 of file internal.c.

References SSCANF.

Referenced by MHD_start_daemon_va(), and post_process_urlencoded().

Here is the caller graph for this function:


Generated on 5 Apr 2011 for GNU libmicrohttpd by  doxygen 1.6.1