00001 /* 00002 * YaST2: Core system 00003 * 00004 * Description: 00005 * YaST2 SCR: Pam agent implementation 00006 * 00007 * Authors: 00008 * Thorsten Kukuk <kukuk@suse.de> 00009 * 00010 * $Id: PamAgent.h,v 1.2 2004/01/19 08:26:50 jsrain Exp $ 00011 */ 00012 00013 #ifndef _PamAgent_h 00014 #define _PamAgent_h 00015 00016 #include <Y2.h> 00017 #include <scr/SCRAgent.h> 00018 00022 class PamAgent : public SCRAgent 00023 { 00024 private: 00029 public: 00033 PamAgent(); 00037 virtual ~PamAgent(); 00038 00044 virtual YCPValue Read ( const YCPPath &path, 00045 const YCPValue& arg = YCPNull(), 00046 const YCPValue& opt = YCPNull()); 00047 00051 virtual YCPBoolean Write(const YCPPath &path, const YCPValue& value, const YCPValue& arg); 00052 00056 virtual YCPList Dir(const YCPPath& path); 00057 00061 virtual YCPValue otherCommand(const YCPTerm& term); 00062 }; 00063 00064 #endif /* _PamAgent_h */