yast2-core
ResolverAgent.h
Go to the documentation of this file.
1 /* ResolverAgent.h
2  *
3  * Classes for reading the resolv.conf configuration file.
4  *
5  * Author: Klaus Kaempf <kkaempf@suse.de>
6  * Daniel Vesely <dan@suse.cz>
7  * Michal Svec <msvec@suse.cz>
8  *
9  * $Id$
10  */
11 
12 #ifndef ResolverAgent_h
13 #define ResolverAgent_h
14 
15 #include <scr/SCRAgent.h>
16 #include <Y2.h>
17 
21 class ResolverAgent : public SCRAgent
22 {
23 private:
24  string file_name;
25 
26 public:
27  ResolverAgent ();
28  ~ResolverAgent ();
29 
33  YCPValue Read(const YCPPath& path, const YCPValue& arg = YCPNull(), const YCPValue& optarg = YCPNull());
34 
38  YCPBoolean Write(const YCPPath& path, const YCPValue& value, const YCPValue& arg = YCPNull());
39 
43  YCPList Dir(const YCPPath& path);
44 
48  YCPValue otherCommand(const YCPTerm& term);
49 };
50 
51 #endif /* ResolverAgent_h */
YCPValue Read(const YCPPath &path, const YCPValue &arg=YCPNull(), const YCPValue &optarg=YCPNull())
Definition: ResolverAgent.cc:490
This is a Modules Agent TODO file $Id path
Definition: agent-modules/doc/TODO.txt:9
YCPValue otherCommand(const YCPTerm &term)
Definition: ResolverAgent.cc:584
SuSE Configuration Repository Agent.
Definition: SCRAgent.h:37
SCR Agent for Resolver commands.
Definition: ResolverAgent.h:21
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
~ResolverAgent()
Definition: ResolverAgent.cc:480
YCPList Dir(const YCPPath &path)
Definition: ResolverAgent.cc:568
YCPBoolean Write(const YCPPath &path, const YCPValue &value, const YCPValue &arg=YCPNull())
Definition: ResolverAgent.cc:511
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
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
ResolverAgent()
Definition: ResolverAgent.cc:475
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
string file_name
Definition: ResolverAgent.h:24
Definition: YCPElement.h:125

Generated on a sunny day for yast2-core by doxygen 1.8.11