URI functions.
| Namespace: | dmURI | 
| Include: | #include <dmsdk/dlib/uri.h> | 
| STRUCTS | |
|---|---|
| struct dmURI::Parts | URI parsing result parts | 
| FUNCTIONS | |
|---|---|
| void dmURI::Decode(const char* src, char* dst) | Decodes an URL encoded buffer | 
| void dmURI::Encode(const char* src, char* dst, uint32_t dst_size, uint32_t bytes_written[out]) | Performs URL encoding of the supplied buffer | 
| dmURI::Parse(const char* uri, dmURI::Parts parts) | Parse URI and split in three parts. (scheme, locat... | 
| void dmURI::Result() | URI parsing result | 
void dmURI::Decode(const char* src, char* dst)
Decodes an URL encoded buffer
PARAMETERS
| const char* | src | Input | 
| char* | dst | Decoded output | 
void dmURI::Encode(const char* src, char* dst, uint32_t dst_size, uint32_t bytes_written[out])
Performs URL encoding of the supplied buffer
PARAMETERS
| const char* | src | string to encode | 
| char* | dst | the destination buffer | 
| uint32_t | dst_size | size of the provided out buffer | 
| uint32_t | bytes_written[out] | number of bytes written | 
 dmURI::Parse(const char* uri, dmURI::Parts parts)
Parse URI and split in three parts. (scheme, location, path)
PARAMETERS
| const char* | uri | URI to parse | 
| dmURI::Parts | parts | Result | 
RETURNS
|  | on success |