#include <CurlAgent.h>
Public Member Functions | |
CurlAgent () | |
virtual | ~CurlAgent () |
virtual YCPValue | Read (const YCPPath &path, const YCPValue &arg=YCPNull(), const YCPValue &opt=YCPNull()) |
virtual YCPBoolean | Write (const YCPPath &path, const YCPValue &value, const YCPValue &arg=YCPNull()) |
virtual YCPValue | Execute (const YCPPath &path, const YCPValue &value=YCPNull(), const YCPValue &arg=YCPNull()) |
virtual YCPList | Dir (const YCPPath &path) |
virtual YCPValue | otherCommand (const YCPTerm &term) |
virtual YCPValue | Get (const char *url, const char *target) |
virtual string | getMapValue (const YCPMap map, const string key, const string defaultValue) |
virtual void | easySSL (bool easy) |
Private Attributes | |
bool | easySSL_val |
CurlAgent::CurlAgent | ( | ) |
CurlAgent::~CurlAgent | ( | ) | [virtual] |
Destructor.
Destructor
YCPBoolean CurlAgent::Write | ( | const YCPPath & | path, | |
const YCPValue & | value, | |||
const YCPValue & | arg = YCPNull() | |||
) | [virtual] |
YCPValue CurlAgent::Execute | ( | const YCPPath & | path, | |
const YCPValue & | value = YCPNull() , |
|||
const YCPValue & | arg = YCPNull() | |||
) | [virtual] |
Provides SCR Execute ().
Reimplemented from SCRAgent.
References easySSL(), Get(), getMapValue(), YCPElement::isNull(), y2error, and y2milestone.
YCPValue CurlAgent::Get | ( | const char * | url, | |
const char * | target | |||
) | [virtual] |
string CurlAgent::getMapValue | ( | const YCPMap | map, | |
const string | key, | |||
const string | defaultValue | |||
) | [virtual] |
void CurlAgent::easySSL | ( | bool | easy | ) | [virtual] |
bool CurlAgent::easySSL_val [private] |
Agent private variables
Referenced by CurlAgent(), easySSL(), and Get().