ResolverAgent.h

Go to the documentation of this file.
00001 /* ResolverAgent.h
00002  *
00003  * Classes for reading the resolv.conf configuration file.
00004  *
00005  * Author: Klaus Kaempf <kkaempf@suse.de>
00006  *         Daniel Vesely <dan@suse.cz>
00007  *         Michal Svec <msvec@suse.cz>
00008  *
00009  * $Id: ResolverAgent.h 13277 2004-01-19 10:17:15Z visnov $
00010  */
00011 
00012 #ifndef ResolverAgent_h
00013 #define ResolverAgent_h
00014 
00015 #include <scr/SCRAgent.h>
00016 #include <Y2.h>
00017 
00021 class ResolverAgent : public SCRAgent
00022 {
00023 private:
00024     string file_name;
00025 
00026 public:
00027     ResolverAgent ();
00028     ~ResolverAgent ();
00029 
00033     YCPValue Read(const YCPPath& path, const YCPValue& arg = YCPNull(), const YCPValue& optarg = YCPNull());
00034 
00038     YCPBoolean Write(const YCPPath& path, const YCPValue& value, const YCPValue& arg = YCPNull());
00039 
00043     YCPList Dir(const YCPPath& path);
00044 
00048     YCPValue otherCommand(const YCPTerm& term);
00049 };
00050 
00051 #endif /* ResolverAgent_h */

Generated on Fri Jun 16 18:07:45 2006 for yast2-core by  doxygen 1.4.6