74 ycp2error(
"Unimplemented Execute called for path %s", path->
toString ().c_str () );
89 ycp2error(
"Unimplemented RegisterAgent called for path %s", path->
toString ().c_str () );
97 ycp2error(
"Unimplemented UnregisterAgent called for path %s", path->
toString ().c_str () );
105 ycp2error(
"Unimplemented UnregisterAllAgents called" );
120 ycp2error(
"Unimplemented RegisterNewAgents called" );
SCRAgent()
Definition: SCRAgent.cc:32
virtual YCPValue Read(const YCPPath &path, const YCPValue &arg=YCPNull(), const YCPValue &opt=YCPNull())=0
virtual YCPBoolean UnmountAgent(const YCPPath &)
Definition: SCRAgent.h:112
virtual YCPValue otherCommand(const YCPTerm &term)
Definition: SCRAgent.cc:67
static YCPValue readconf(const char *filename)
Definition: SCRAgent.cc:74
virtual YCPBoolean RegisterNewAgents()
Definition: SCRAgent.h:119
virtual YCPBoolean RegisterAgent(const YCPPath &path, const YCPValue &)
Definition: SCRAgent.h:88
static YCPMap unspecified_error
returned by Error
Definition: SCRAgent.h:153
virtual YCPMap Error(const YCPPath &)
Definition: SCRAgent.h:81
#define ycp2error(format, args...)
Definition: libycp/src/include/ycp/y2log.h:41
static SCRAgent * current_scr
Definition: SCRAgent.h:151
virtual YCPBoolean Write(const YCPPath &path, const YCPValue &value, const YCPValue &arg=YCPNull())=0
SCRAgent * mainscragent
Definition: SCRAgent.h:135
Wrapper for YCPMapRep This class realizes an automatic memory management via YCPElement. Access the functionality of YCPMapRep with the arrow operator. See YCPMapRep.
Definition: YCPMap.h:184
virtual YCPBoolean UnregisterAllAgents()
Definition: SCRAgent.h:104
virtual YCPBoolean UnregisterAgent(const YCPPath &path)
Definition: SCRAgent.h:96
SuSE Configuration Repository Agent.
Definition: SCRAgent.h:38
virtual YCPValue Execute(const YCPPath &path, const YCPValue &=YCPNull(), const YCPValue &=YCPNull())
Definition: SCRAgent.h:72
virtual YCPList Dir(const YCPPath &path)=0
Wrapper for YCPListRep This class realizes an automatic memory management via YCPElement. Access the functionality of YCPListRep with the arrow operator. See YCPListRep.
Definition: YCPList.h:236
void setAsCurrentSCR()
Definition: SCRAgent.h:146
Wrapper for YCPTermRep This class realizes an automatic memory management via YCPElement. Access the functionality of YCPTermRep with the arrow operator. See YCPTermRep.
Definition: YCPTerm.h:177
string toString(int d)
Definition: toString.h:38
Wrapper for YCPValueRep This class realizes an automatic memory management via YCPElement. Access the functionality of YCPValueRep with the arrow operator. See YCPValueRep.
Definition: YCPValue.h:275
Wrapper for YCPPathRep This class realizes an automatic memory management via YCPElement. Access the functionality of YCPPathRep with the arrow operator. See YCPPathRep.
Definition: YCPPath.h:175
static SCRAgent * instance()
Definition: SCRAgent.cc:51
virtual ~SCRAgent()
Definition: SCRAgent.cc:46
Wrapper for YCPBooleanRep This class realizes an automatic memory management via YCPElement. Access the functionality of YCPBooleanRep with the arrow operator. See YCPBooleanRep.
Definition: YCPBoolean.h:93
Definition: YCPElement.h:125