libzypp
10.5.0
|
00001 #ifndef ZYPP_MEDIA_CURLRCONFIG_H_ 00002 #define ZYPP_MEDIA_CURLRCONFIG_H_ 00003 00004 //#include "zypp/base/NonCopyable.h" 00005 #include "zypp/base/String.h" 00006 00007 namespace zypp 00008 { 00009 namespace media 00010 { 00011 00012 00016 struct CurlConfig 00017 { 00018 public: 00026 static int parseConfig(CurlConfig & config, const std::string & filename = ""); 00027 00034 static int setParameter(CurlConfig & config, 00035 const std::string & option, 00036 const std::string & value); 00037 00038 public: 00039 std::string proxyuserpwd; 00040 // add more curl config data here as they become needed 00041 }; 00042 00043 00044 } // namespace media 00045 } // namespace zypp 00046 00047 #endif /*ZYPP_MEDIA_CURLRCONFIG_H_*/