pam_pkcs11  0.6.8
mapperlist.h
Go to the documentation of this file.
00001 /*
00002  * PAM-PKCS11 mapping modules
00003  * Copyright (C) 2005 Juan Antonio Martinez <jonsito@teleline.es>
00004  * pam-pkcs11 is copyright (C) 2003-2004 of Mario Strasser <mast@gmx.net>
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  * You should have received a copy of the GNU Lesser General Public
00017  * License along with this library; if not, write to the Free Software
00018  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
00019  *
00020  * $Id: mapperlist.h 358 2008-11-06 14:28:46Z ludovic.rousseau $
00021  */
00022 
00023 #ifndef __MAPPERLIST_H_
00024 #define __MAPPERLIST_H_
00025 
00026 #ifdef HAVE_CONFIG_H
00027 #include <config.h>
00028 #endif
00029 
00030 #include "../mappers/mapper.h"
00031 
00032 /*
00033 * list of mappers that are statically linked
00034 */
00035 typedef struct mapper_list_st {
00036         const char *name;
00037         mapper_module * (*init)(scconf_block *blk, const char *mapper_name);
00038 } mapper_list;
00039 
00040 #ifndef __MAPPERLIST_C_
00041 extern mapper_list static_mapper_list[];
00042 #endif
00043 
00044 /* End of mapperlist.h */
00045 #endif