HttpConvertName

Converts all reserved characters into escape sequences, and writes the result into a destination string.

Syntax

    #include <httpexp.h>
    
    void HttpConvertName (
      char   *src,
      char   *dst,
      UINT32  srclen);
    

Parameters

src
(IN) Points to an ASCII string.
dst
(OUT) Points to where the converted (Escape characters) string is placed. The resultant string is NULL terminated.
srclen
(IN) Specifies the length of the source ASCII string.

Remarks

For example, the string “computing power” would be converted to “computing%20power”.

See Also

HttpUnConvertName