rpm  6.0.91
The RPM Package Manager
rpmurl.h
Go to the documentation of this file.
1 #ifndef H_RPMURL
2 #define H_RPMURL
3 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
17 typedef enum urltype_e {
21  URL_IS_FTP = 3,
25 } urltype;
26 
32 urltype urlIsURL(const char * url);
33 
40 urltype urlPath(const char * url, const char ** pathp);
41 
48 int urlGetFile(const char * url, const char * dest);
49 
50 #ifdef __cplusplus
51 }
52 #endif
53 
54 #endif /* H_RPMURL */
Definition: rpmurl.h:24
Definition: rpmurl.h:22
Definition: rpmurl.h:21
Definition: rpmurl.h:23
urltype urlPath(const char *url, const char **pathp)
Definition: rpmurl.h:19
Definition: rpmurl.h:20
Definition: rpmurl.h:18
urltype urlIsURL(const char *url)
enum urltype_e urltype
urltype_e
Definition: rpmurl.h:17
int urlGetFile(const char *url, const char *dest)