1 /*
2    BAREOS® - Backup Archiving REcovery Open Sourced
3 
4    Copyright (C) 2000-2011 Free Software Foundation Europe e.V.
5    Copyright (C) 2018-2018 Bareos GmbH & Co. KG
6 
7    This program is Free Software; you can redistribute it and/or
8    modify it under the terms of version three of the GNU Affero General Public
9    License as published by the Free Software Foundation and included
10    in the file LICENSE.
11 
12    This program is distributed in the hope that it will be useful, but
13    WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15    Affero General Public License for more details.
16 
17    You should have received a copy of the GNU Affero General Public License
18    along with this program; if not, write to the Free Software
19    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20    02110-1301, USA.
21 */
22 
23 #ifndef BAREOS_CONSOLE_AUTH_PAM_H_
24 #define BAREOS_CONSOLE_AUTH_PAM_H_
25 
26 #include <cstdio>
27 
28 class BareosSocket;
29 
30 bool ConsolePamAuthenticate(FILE* std_in, BareosSocket* UA_sock);
31 
32 
33 #endif /* BAREOS_CONSOLE_AUTH_PAM_H_ */
34