73 ycp2error(
"Unimplemented Execute called for path %s", path->
toString ().c_str () );
88 ycp2error(
"Unimplemented RegisterAgent called for path %s", path->
toString ().c_str () );
96 ycp2error(
"Unimplemented UnregisterAgent called for path %s", path->
toString ().c_str () );
104 ycp2error(
"Unimplemented UnregisterAllAgents called" );
119 ycp2error(
"Unimplemented RegisterNewAgents called" );
143 virtual const char *
root ()
const;
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:111
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:118
virtual YCPBoolean RegisterAgent(const YCPPath &path, const YCPValue &)
Definition: SCRAgent.h:87
static YCPMap unspecified_error
returned by Error
Definition: SCRAgent.h:168
string targetPath(const string &path) const
Definition: SCRAgent.cc:115
virtual YCPMap Error(const YCPPath &)
Definition: SCRAgent.h:80
#define ycp2error(format, args...)
Definition: libycp/src/include/ycp/y2log.h:41
static SCRAgent * current_scr
Definition: SCRAgent.h:166
virtual YCPBoolean Write(const YCPPath &path, const YCPValue &value, const YCPValue &arg=YCPNull())=0
SCRAgent * mainscragent
Definition: SCRAgent.h:134
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 const char * root() const
Definition: SCRAgent.cc:110
virtual YCPBoolean UnregisterAllAgents()
Definition: SCRAgent.h:103
virtual YCPBoolean UnregisterAgent(const YCPPath &path)
Definition: SCRAgent.h:95
SuSE Configuration Repository Agent.
Definition: SCRAgent.h:37
virtual YCPValue Execute(const YCPPath &path, const YCPValue &=YCPNull(), const YCPValue &=YCPNull())
Definition: SCRAgent.h:71
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:154
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