Some examples of valid URL's:
Definition in file uri.h.
#include <malloc.h>
Go to the source code of this file.
Defines | |
#define | URI_EXTERN extern |
Functions | |
URI_EXTERN int | is_uri (const char *path) |
URI_EXTERN int | is_file (const char *path) |
URI_EXTERN int | is_dir (const char *path) |
URI_EXTERN int | is_symlink (const char *path) |
URI_EXTERN int | get_from_uri (const char *uri_str, unsigned char **data, size_t *length) |
Downloads data from a given URI. |
URI_EXTERN int get_from_uri | ( | const char * | uri_str, | |
unsigned char ** | data, | |||
size_t * | length | |||
) |
Downloads data from a given URI.
uri_str | URL string where to retrieve data | |
data | Pointer to a String buffer where data is retrieved | |
length | Length of retrieved data |
URI_EXTERN int is_dir | ( | const char * | path | ) |
URI_EXTERN int is_file | ( | const char * | path | ) |
URI_EXTERN int is_symlink | ( | const char * | path | ) |
URI_EXTERN int is_uri | ( | const char * | path | ) |