Parent Directory | Revision Log
Added some old code for storage/ reference
1 | torben | 328 | #include <iostream> |
2 | #include "stdpam.h" | ||
3 | |||
4 | |||
5 | using namespace std; | ||
6 | |||
7 | int main(int argc, char *argv[]) | ||
8 | { | ||
9 | StdPam pam; | ||
10 | if ( pam.checkUser() ) | ||
11 | cout << "Auth OK" << endl; | ||
12 | else | ||
13 | cout << "Auth failed" <<endl; | ||
14 | return 0; | ||
15 | } |
ViewVC Help | |
Powered by ViewVC 1.1.20 |