yast2-transfer
CurlAgent.h
Go to the documentation of this file.
00001 /*
00002  * YaST2: Core system
00003  *
00004  * Description:
00005  *   YaST2 SCR: Curl agent implementation
00006  *
00007  * Authors:
00008  *   Anas Nashif <nashif@suse.de>
00009  *
00010  * $Id: CurlAgent.h 65085 2011-07-29 12:17:07Z ug $
00011  */
00012 
00013 #ifndef _CurlAgent_h
00014 #define _CurlAgent_h
00015 
00016 #include <Y2.h>
00017 #include <scr/SCRAgent.h>
00018 
00019 
00023 class CurlAgent : public SCRAgent
00024 {
00025 private:
00029     bool    easySSL_val;
00030     char*   clientKeyPath_val;
00031     char*   clientCertPath_val;
00032 
00033 public:
00037     CurlAgent();
00038 
00042     virtual ~CurlAgent();
00043 
00049     virtual YCPValue Read(const YCPPath &path,
00050                           const YCPValue& arg = YCPNull(),
00051                           const YCPValue& opt = YCPNull());
00052 
00056     virtual YCPBoolean Write(const YCPPath &path,
00057                            const YCPValue& value,
00058                            const YCPValue& arg = YCPNull());
00059 
00060 
00064     virtual YCPValue Execute(const YCPPath &path,
00065                              const YCPValue& value = YCPNull(),
00066                              const YCPValue& arg = YCPNull());
00067 
00071     virtual YCPList Dir(const YCPPath& path);
00072 
00076     virtual YCPValue otherCommand(const YCPTerm& term);
00077     virtual YCPValue Get( const char *url, const char *target);
00078     // virtual YCPValue  Post(  const char *url, const char *post, const char *target);
00079     virtual string getMapValue ( const YCPMap map, const string key, const string defaultValue);
00080     virtual void easySSL( bool easy );
00081     virtual void clientCertSSL( const char *path );
00082     virtual void clientKeySSL( const char *path );
00083 
00084 private:
00085 
00086 };
00087 
00088 #endif /* _CurlAgent_h */

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