GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
url.c File Reference
#include <gpac/network.h>
+ Include dependency graph for url.c:

Macros

#define URL_SEP_LENGTH   3
 

Enumerations

enum  { GF_URL_TYPE_FILE = 0, GF_URL_TYPE_RELATIVE, GF_URL_TYPE_ANY, GF_URL_TYPE_BLOB }
 

Functions

static u32 URL_GetProtocolType (const char *pathName)
 
Bool gf_url_is_local (const char *pathName)
 URL local test. More...
 
char * gf_url_get_absolute_path (const char *pathName, const char *parentPath)
 gets absolute file path More...
 
char * gf_url_concatenate (const char *parentName, const char *pathName)
 URL concatenation. More...
 
void gf_url_to_fs_path (char *sURL)
 URL to file system. More...
 
char * gf_url_percent_encode (const char *path)
 URL encodin. More...
 
const char * gf_url_get_resource_name (const char *sURL)
 Extract resource name from URL. More...
 
Bool gf_url_get_resource_path (const char *sURL, char *res_path)
 Extract resource path from URL. More...
 
Bool gf_url_remove_last_delimiter (const char *sURL, char *res_path)
 Remove last delimenter from URL. More...
 
const char * gf_url_get_ressource_extension (const char *sURL)
 Extract extension from a resource path in URL. More...
 

Macro Definition Documentation

#define URL_SEP_LENGTH   3

Enumeration Type Documentation

anonymous enum
Enumerator
GF_URL_TYPE_FILE 
GF_URL_TYPE_RELATIVE 
GF_URL_TYPE_ANY 
GF_URL_TYPE_BLOB 

Function Documentation

static u32 URL_GetProtocolType ( const char *  pathName)
static

+ Here is the caller graph for this function: