URI

URI functions.

dmURI::Result()

URI parsing result

URI parsing result


dmURI::Parts()

URI parsing result parts

URI parsing result parts


dmURI::Parse(uri, parts)

Parse URI and split in three parts. (scheme, locat...

Parse URI and split in three parts. (scheme, location, path)

PARAMETERS

uri - URI to parse

parts - Result

RETURN

RESULT_OK - on success


dmURI::Encode(src, dst, dst_size, bytes_written[out])

Performs URL encoding of the supplied buffer

Performs URL encoding of the supplied buffer

PARAMETERS

src - string to encode

dst - the destination buffer

dst_size - size of the provided out buffer

bytes_written[out] - number of bytes written


dmURI::Decode(src, dst)

Decodes an URL encoded buffer

Decodes an URL encoded buffer

PARAMETERS

src - Input

dst - Decoded output