pam_pkcs11  0.6.8
mail_mapper.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: mail_mapper.h 358 2008-11-06 14:28:46Z ludovic.rousseau $
00021  */
00022 
00023 #ifndef __MAIL_MAPPER_H_
00024 #define __MAIL_MAPPER_H_
00025 
00026 #ifdef HAVE_CONFIG_H
00027 #include <config.h>
00028 #endif
00029 
00030 #include "../scconf/scconf.h"
00031 #include "mapper.h"
00032 
00033 #ifdef MAIL_MAPPER_STATIC
00034 
00035 #ifndef __MAIL_MAPPER_C_
00036 #define MAIL_EXTERN extern
00037 #else
00038 #define MAIL_EXTERN
00039 #endif
00040 MAIL_EXTERN mapper_module * mail_mapper_module_init(scconf_block *blk,const char *mapper_name);
00041 #undef MAIL_EXTERN
00042 
00043 /* end of static (if any) declarations */
00044 #endif
00045 
00046 /* End of mail_mapper.h */
00047 #endif