libzypp  11.13.5
CurlConfig.h
Go to the documentation of this file.
1 #ifndef ZYPP_MEDIA_CURLRCONFIG_H_
2 #define ZYPP_MEDIA_CURLRCONFIG_H_
3 
4 //#include "zypp/base/NonCopyable.h"
5 #include "zypp/base/String.h"
6 
7 namespace zypp
8 {
9  namespace media
10  {
11 
12 
16  struct CurlConfig
17  {
18  public:
26  static int parseConfig(CurlConfig & config, const std::string & filename = "");
27 
34  static int setParameter(CurlConfig & config,
35  const std::string & option,
36  const std::string & value);
37 
38  public:
39  std::string proxyuserpwd;
40  // add more curl config data here as they become needed
41  };
42 
43 
44  } // namespace media
45 } // namespace zypp
46 
47 #endif /*ZYPP_MEDIA_CURLRCONFIG_H_*/