rpm  4.11.1-rc1
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 {
19  URL_IS_FTP = 3,
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 */