Debian Codegraph @

src/pam/auth-support/wait-for-card.h

raw symbols SCIP
1 /* wait-for-card.h - Waiting for smartcard insertion (Poldi)
2 Copyright (C) 2004, 2005, 2007, 2008 g10 Code GmbH
3
4 This file is part of Poldi.
5
6 Poldi is free software; you can redistribute it and/or modify it
7 under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version.
10
11 Poldi is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, see
18 <http://www.gnu.org/licenses/>. */
19
20 #ifndef WAIT_FOR_CARD_H
21 #define WAIT_FOR_CARD_H
22
23 #include <gpg-error.h>
24
25 #include "scd/scd.h"
26
27 /* Wait for insertion of a card in slot specified by SLOT,
28 communication with the user through the PAM conversation function
29 CONV.
30
31 Returns proper error code. */
32 gpg_error_t wait_for_card (scd_context_t ctx, unsigned int timeout);
33
34 #endif