pam_pkcs11  0.6.12
pwent_mapper.h
Go to the documentation of this file.
1 /*
2  * PAM-PKCS11 mapping modules
3  * Copyright (C) 2005 Juan Antonio Martinez <jonsito@teleline.es>
4  * pam-pkcs11 is copyright (C) 2003-2004 of Mario Strasser <mast@gmx.net>
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  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19  *
20  * $Id$
21  */
22 
23 #ifndef __PWENT_MAPPER_H_
24 #define __PWENT_MAPPER_H_
25 
26 #ifdef HAVE_CONFIG_H
27 #include <config.h>
28 #endif
29 
30 #include "../scconf/scconf.h"
31 #include "mapper.h"
32 
33 #ifdef PWENT_MAPPER_STATIC
34 
35 #ifndef __PWENT_MAPPER_C_
36 #define PWENT_EXTERN extern
37 #else
38 #define PWENT_EXTERN
39 #endif
40 PWENT_EXTERN mapper_module * pwent_mapper_module_init(scconf_block *blk,const char *mapper_name);
41 #undef PWENT_EXTERN
42 
43 /* end of static (if any) declarations */
44 #endif
45 
46 /* End of pwent_mapper.h */
47 #endif
Structure to be filled on mapper module initialization.
Definition: mapper.h:40