![]() |
libgpac
Documentation of the core library of GPAC
|
#include <gpac/network.h>
Include dependency graph for url.c:Macros | |
| #define | URL_SEP_LENGTH 3 |
| #define | MAX_URL_LEN 4096 |
Enumerations | |
| enum | { GF_URL_TYPE_FILE_PATH = 0 , GF_URL_TYPE_FILE_URI , GF_URL_TYPE_RELATIVE , GF_URL_TYPE_ANY_URI , GF_URL_TYPE_INVALID } |
Functions | |
| static u32 | URL_GetProtocolType (const char *pathName) |
| GF_EXPORT Bool | gf_url_is_local (const char *pathName) |
| URL local test. | |
| GF_EXPORT Bool | gf_url_is_relative (const char *pathName) |
| check relative URL | |
| GF_EXPORT char * | gf_url_get_absolute_path (const char *pathName, const char *parentPath) |
| gets absolute file path | |
| static char * | gf_url_concatenate_ex (const char *parentName, const char *pathName, Bool relative_to_parent) |
| GF_EXPORT char * | gf_url_concatenate (const char *parentName, const char *pathName) |
| URL concatenation. | |
| GF_EXPORT char * | gf_url_concatenate_parent (const char *parentName, const char *pathName) |
| URL concatenation. | |
| GF_EXPORT void | gf_url_to_fs_path (char *sURL) |
| URL to file system. | |
| char * | gf_url_percent_encode (const char *path) |
| URL encoding. | |
| char * | gf_url_percent_decode (const char *path) |
| URL decoding. | |
| GF_EXPORT const char * | gf_url_get_resource_name (const char *sURL) |
| Extract resource name from URL. | |
| GF_EXPORT const char * | gf_url_get_path (const char *sURL) |
| Gets resource path from URL. | |
| GF_EXPORT void | gf_url_free (char *sURL) |
Variables | |
| const char * | pce_special = " %" |
| const char * | pce_encoded = "0123456789ABCDEFabcdef" |
| #define URL_SEP_LENGTH 3 |
| #define MAX_URL_LEN 4096 |
| anonymous enum |
|
static |
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:| GF_EXPORT void gf_url_free | ( | char * | sURL | ) |
Here is the call graph for this function:| const char* pce_special = " %" |
| const char* pce_encoded = "0123456789ABCDEFabcdef" |