|
rpm 6.0.1
The RPM Package Manager
|
A couple utils for URL Manipulation. More...

Typedefs | |
| typedef enum urltype_e | urltype |
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 } |
Functions | |
| urltype | urlIsURL (const char *url) |
| urltype | urlPath (const char *url, const char **pathp) |
| int | urlGetFile (const char *url, const char *dest) |
A couple utils for URL Manipulation.
| enum urltype_e |
| 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 | ) |
Return type of URL.
| url | url string |
| urltype urlPath | ( | const char * | url, |
| const char ** | pathp ) |
Return path component of URL.
| url | url string | |
| [out] | pathp | pointer to path component of url |