Main Page | Data Structures | Directories | File List | Data Fields | Globals

pam_config.h

Go to the documentation of this file.
00001 /*
00002  * PKCS #11 PAM Login Module
00003  * Copyright (C) 2003 Mario Strasser <mast@gmx.net>,
00004  * config mgmt copyright (c) 2005 Juan Antonio Martinez <jonsito@teleline.es>
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Lesser General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2.1 of the License, or (at your option) any later version.
00010  *
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Lesser General Public License for more details.
00015  *
00016  * $Id$
00017  */
00018 
00019 /*
00020 * configuration related functions
00021 */
00022 #ifndef _PAM_CONFIG_H_
00023 #define _PAM_CONFIG_H_
00024 
00025 #include "../scconf/scconf.h"
00026 #include "../common/cert_vfy.h"
00027 
00028 struct configuration_st {
00029         char * config_file;
00030         scconf_context *ctx;
00031         int debug;
00032         int nullok;
00033         int try_first_pass;
00034         int use_first_pass;
00035         int use_authok;
00036         char *pkcs11_module;
00037         char *pkcs11_modulepath;
00038         int slot_num;
00039         int support_threads;
00040         cert_policy policy;
00041         char *username; /* provided user name */
00042 };
00043 
00044 struct configuration_st *pk_configure( int argc, const char **argv );
00045 
00046 #endif

Generated on Thu Mar 16 22:52:55 2006 for pam_pkcs11 by  doxygen 1.4.2