rpm: rpmurl.h Source File

rpm 4.11.1-rc1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

rpmurl.h
Go to the documentation of this file.
1 #ifndef H_RPMURL
2 #define H_RPMURL
3
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11
15 typedef enum urltype_e {
16 URL_IS_UNKNOWN = 0,
17 URL_IS_DASH = 1,
18 URL_IS_PATH = 2,
19 URL_IS_FTP = 3,
20 URL_IS_HTTP = 4,
21 URL_IS_HTTPS = 5,
22 URL_IS_HKP = 6
23 } urltype;
24
30 urltype urlIsURL(const char * url);
31
38 urltype urlPath(const char * url, const char ** pathp);
39
46 int urlGetFile(const char * url, const char * dest);
47
48 #ifdef __cplusplus
49 }
50 #endif
51
52 #endif /* H_RPMURL */