| Data Structures | |
| struct | urlinfo_s | 
| URL control structure.  More... | |
| Typedefs | |
| typedef enum urltype_e | urltype | 
| Supported URL types. | |
| Enumerations | |
| enum | urltype_e { URL_IS_UNKNOWN = 0, URL_IS_DASH = 1, URL_IS_PATH = 2, URL_IS_FTP = 3, URL_IS_HTTP = 4, URL_IS_HTTPS = 5, URL_IS_HKP = 6 } | 
| Supported URL types.More... | |
| Functions | |
| urlinfo | urlNew (void) | 
| Create a URL info structure instance. | |
| urlinfo | urlFree (urlinfo u) | 
| Free a URL info structure instance. | |
| urltype | urlIsURL (const char *url) | 
| Return type of URL. | |
| urltype | urlPath (const char *url, const char **pathp) | 
| Return path component of URL. | |
| int | urlSplit (const char *url, urlinfo *uret) | 
| Parse URL string into a control structure. | |
| int | urlGetFile (const char *url, const char *dest) | 
| Copy data from URL to local file. | |
| enum urltype_e | 
Free a URL info structure instance.
| u | URL control structure | 
| int urlGetFile | ( | const char * | url, | |
| const char * | dest | |||
| ) | 
Copy data from URL to local file.
| url | url string of source | |
| dest | file name of destination | 
| urltype urlIsURL | ( | const char * | url | ) | 
| urlinfo urlNew | ( | void | ) | 
Create a URL info structure instance.
| urltype urlPath | ( | const char * | url, | |
| const char ** | pathp | |||
| ) | 
Return path component of URL.
| url | url string | 
| pathp | pointer to path component of url | 
| int urlSplit | ( | const char * | url, | |
| urlinfo * | uret | |||
| ) | 
Parse URL string into a control structure.
| url | url string | 
| uret | address of new control instance pointer | 
 1.6.1
 1.6.1