pam_pkcs11  0.6.12
mapperlist.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 __MAPPERLIST_H_
24 #define __MAPPERLIST_H_
25 
26 #ifdef HAVE_CONFIG_H
27 #include <config.h>
28 #endif
29 
30 #include "../mappers/mapper.h"
31 
32 /*
33 * list of mappers that are statically linked
34 */
35 typedef struct mapper_list_st {
36  const char *name;
37  mapper_module * (*init)(scconf_block *blk, const char *mapper_name);
38 } mapper_list;
39 
40 #ifndef __MAPPERLIST_C_
42 #endif
43 
44 /* End of mapperlist.h */
45 #endif
const char * name
Definition: mapperlist.h:36
struct mapper_list_st mapper_list
mapper_list static_mapper_list[]
Structure to be filled on mapper module initialization.
Definition: mapper.h:40