libgpac
Documentation of the core library of GPAC
|
#include <gpac/network.h>
Macros | |
#define | URL_SEP_LENGTH 3 |
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. More... | |
GF_EXPORT Bool | gf_url_is_relative (const char *pathName) |
check relative URL More... | |
GF_EXPORT char * | gf_url_get_absolute_path (const char *pathName, const char *parentPath) |
gets absolute file path More... | |
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. More... | |
GF_EXPORT char * | gf_url_concatenate_parent (const char *parentName, const char *pathName) |
URL concatenation. More... | |
GF_EXPORT void | gf_url_to_fs_path (char *sURL) |
URL to file system. More... | |
char * | gf_url_percent_encode (const char *path) |
URL encoding. More... | |
char * | gf_url_percent_decode (const char *path) |
URL decoding. More... | |
GF_EXPORT const char * | gf_url_get_resource_name (const char *sURL) |
Extract resource name from URL. More... | |
GF_EXPORT const char * | gf_url_get_path (const char *sURL) |
Gets resource path from URL. More... | |
GF_EXPORT void | gf_url_free (char *sURL) |
Variables | |
const char * | pce_special = " %" |
const char * | pce_encoded = "0123456789ABCDEFabcdef" |
#define URL_SEP_LENGTH 3 |
anonymous enum |
|
static |
|
static |
GF_EXPORT void gf_url_free | ( | char * | sURL | ) |
const char* pce_special = " %" |
const char* pce_encoded = "0123456789ABCDEFabcdef" |