pam_pkcs11 0.6.12
pam_config.h
Go to the documentation of this file.
1/*
2 * PKCS #11 PAM Login Module
3 * Copyright (C) 2003 Mario Strasser <mast@gmx.net>,
4 * config mgmt copyright (c) 2005 Juan Antonio Martinez <jonsito@teleline.es>
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * $Id$
17 */
18
19/*
20* configuration related functions
21*/
22#ifndef _PAM_CONFIG_H_
23#define _PAM_CONFIG_H_
24
25#include "../scconf/scconf.h"
26#include "../common/cert_vfy.h"
27
29 const char *config_file;
31 int debug;
32 int nullok;
38 const char *pkcs11_module;
39 const char *pkcs11_modulepath;
40 const char **screen_savers;
41 const char *slot_description;
45 const char *token_type;
46 const char *username; /* provided user name */
47 int quiet;
49};
50
51struct configuration_st *pk_configure( int argc, const char **argv );
52
53#endif
struct cert_policy_st cert_policy
Definition cert_st.h:26
Several routines to:
struct configuration_st * pk_configure(int argc, const char **argv)
const char * token_type
Definition pam_config.h:45
const char * pkcs11_modulepath
Definition pam_config.h:39
const char ** screen_savers
Definition pam_config.h:40
cert_policy policy
Definition pam_config.h:44
const char * slot_description
Definition pam_config.h:41
const char * username
Definition pam_config.h:46
const char * pkcs11_module
Definition pam_config.h:38
const char * config_file
Definition pam_config.h:29
scconf_context * ctx
Definition pam_config.h:30