This module contains several functions to retrieve data from an URL.
More...
#include <stdlib.h>
Go to the source code of this file.
This module contains several functions to retrieve data from an URL.
Some examples of valid URL's:
Definition in file uri.h.
◆ URI_EXTERN
#define URI_EXTERN extern |
Definition at line 39 of file uri.h.
◆ get_from_uri()
URI_EXTERN int get_from_uri |
( |
const char * |
uri_str, |
|
|
unsigned char ** |
data, |
|
|
size_t * |
length |
|
) |
| |
Downloads data from a given URI
- Parameters
-
uri_str | URL string where to retrieve data |
data | Pointer to a String buffer where data is retrieved |
length | Length of retrieved data |
- Returns
- -1 on error, 0 on sucess
◆ is_dir()
◆ is_file()
◆ is_symlink()
◆ is_uri()