/[projects]/misc/checkuser/cpp/stdpam.h
ViewVC logotype

Annotation of /misc/checkuser/cpp/stdpam.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 328 - (hide annotations) (download)
Wed Sep 16 20:13:41 2009 UTC (14 years, 8 months ago) by torben
File MIME type: text/plain
File size: 337 byte(s)
Added some old code for storage/ reference


1 torben 328 #ifndef STDPAM_H
2     #define STDPAM_H
3    
4     #include "pamwrapper.h"
5    
6     #include <string>
7    
8     class StdPam : public PamWrapper
9     {
10     public:
11     StdPam() : PamWrapper("stdpam") {};
12     std::string promptEchoOff(std::string msg);
13     std::string promptEchoOn(std::string msg);
14     void errorMsg(std::string msg);
15     void textInfo(std::string msg);
16     };
17    
18     #endif //STDPAM_H

  ViewVC Help
Powered by ViewVC 1.1.20