Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Examples

SudoProtocol.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                                                                      |
00003 |                      __   __    ____ _____ ____                      |
00004 |                      \ \ / /_ _/ ___|_   _|___ \                     |
00005 |                       \ V / _` \___ \ | |   __) |                    |
00006 |                        | | (_| |___) || |  / __/                     |
00007 |                        |_|\__,_|____/ |_| |_____|                    |
00008 |                                                                      |
00009 |                               core system                            |
00010 |                                                        (C) SuSE GmbH |
00011 \----------------------------------------------------------------------/
00012 
00013    File:        SudoProtocol.h
00014 
00015    Author:      Thomas Roelz <tom@suse.de>
00016    Maintainer:  Arvin Schnell <arvin@suse.de>
00017 
00018 /-*/
00019 
00020 
00021 #ifndef SudoProtocol_h
00022 #define SudoProtocol_h
00023 
00024 #include "RemoteProtocol.h"
00025 
00026 
00027 class SudoProtocol : public RemoteProtocol
00028 {
00029     const bool is_server;
00030 
00031 public:
00039     SudoProtocol (bool is_server, std::string loginname, std::string componentname);
00040 
00041     callStatus callComponent (std::string password = "", bool passwd_supplied = false);
00042 
00046     bool doesEcho () const;
00047 
00048 };
00049 
00050 
00051 #endif // SudoProtocol_h

Generated on Fri Nov 9 18:15:22 2007 for yast2-core by doxygen 1.3.6