yast2-transfer
CurlAgent.h
Go to the documentation of this file.
1 /*
2  * YaST2: Core system
3  *
4  * Description:
5  * YaST2 SCR: Curl agent implementation
6  *
7  * Authors:
8  * Anas Nashif <nashif@suse.de>
9  *
10  * $Id: CurlAgent.h 65085 2011-07-29 12:17:07Z ug $
11  */
12 
13 #ifndef _CurlAgent_h
14 #define _CurlAgent_h
15 
16 #include <Y2.h>
17 #include <scr/SCRAgent.h>
18 
19 
23 class CurlAgent : public SCRAgent
24 {
25 private:
32 
33 public:
37  CurlAgent();
38 
42  virtual ~CurlAgent();
43 
49  virtual YCPValue Read(const YCPPath &path,
50  const YCPValue& arg = YCPNull(),
51  const YCPValue& opt = YCPNull());
52 
56  virtual YCPBoolean Write(const YCPPath &path,
57  const YCPValue& value,
58  const YCPValue& arg = YCPNull());
59 
60 
64  virtual YCPValue Execute(const YCPPath &path,
65  const YCPValue& value = YCPNull(),
66  const YCPValue& arg = YCPNull());
67 
71  virtual YCPList Dir(const YCPPath& path);
72 
76  virtual YCPValue otherCommand(const YCPTerm& term);
77  virtual YCPValue Get( const char *url, const char *target);
78  // virtual YCPValue Post( const char *url, const char *post, const char *target);
79  virtual string getMapValue ( const YCPMap map, const string key, const string defaultValue);
80  virtual void easySSL( bool easy );
81  virtual void clientCertSSL( const char *path );
82  virtual void clientKeySSL( const char *path );
83 
84 private:
85 
86 };
87 
88 #endif /* _CurlAgent_h */

Generated on a sunny day for yast2-transfer by doxygen 1.8.2