|
myMPD
Internal API documentation
|
URL functions for sds strings. More...
#include "dist/sds/sds.h"#include <stdbool.h>

Go to the source code of this file.
Functions | |
| sds | sds_urldecode (sds s, const char *p, size_t len, bool is_form_url_encoded) |
| sds | sds_urlencode (sds s, const char *p, size_t len) |
URL functions for sds strings.
| sds sds_urldecode | ( | sds | s, |
| const char * | p, | ||
| size_t | len, | ||
| bool | is_form_url_encoded ) |
Url decodes a string
| s | sds string to append the url decoded string |
| p | string to url decode |
| len | string length to url decode |
| is_form_url_encoded | true decodes + chars to spaces |
| sds sds_urlencode | ( | sds | s, |
| const char * | p, | ||
| size_t | len ) |
Url encodes a string
| s | sds string to append the encoded string |
| p | string to url encode |
| len | string length to url encode |