00001 /* 00002 * Copyright (c) Members of the EGEE Collaboration. 2004. 00003 * See http://eu-egee.org/partners/ for details on the copyright holders. 00004 * For license conditions see the license file or 00005 * http://eu-egee.org/license.html 00006 */ 00007 00020 #ifndef _LCMAPS_VOMS_ATTRIBUTES_H 00021 #define _LCMAPS_VOMS_ATTRIBUTES_H 00022 00023 /****************************************************************************** 00024 Include header files 00025 ******************************************************************************/ 00026 #include <gssapi.h> 00027 00028 /****************************************************************************** 00029 * Module definition 00030 *****************************************************************************/ 00031 00032 #ifndef LCMAPS_VOMS_ATTRIBUTES_C 00033 # define LCMAPS_VOMS_ATTRIBUTES_STORAGE_CLASS extern 00034 #else 00035 # define LCMAPS_VOMS_ATTRIBUTES_STORAGE_CLASS 00036 #endif 00037 00038 /****************************************************************************** 00039 Function: lcmaps_gss_cred_to_voms_fqans 00040 Description: 00041 Extract from a gsi credential (of type gss_cred_id_t) a list of VOMS 00042 fully qualified attribute names (FQANs) 00043 Parameters: 00044 gss_credential: gsi credential (of type gss_cred_id_t) 00045 pnfqan: the number of fqans found. If the proxy is empty (VERR_NOEXT), 00046 this will be set to zero. Not an immediate error ! 00047 Returns: 00048 A list of fqans or NULL 00049 ******************************************************************************/ 00050 LCMAPS_VOMS_ATTRIBUTES_STORAGE_CLASS char ** lcmaps_gss_cred_to_voms_fqans( 00051 gss_cred_id_t gss_credential, 00052 int * pnfqan 00053 ); 00054 00055 #endif /* _LCMAPS_VOMS_ATTRIBUTES_H */ 00056 00057 /****************************************************************************** 00058 CVS Information: 00059 $Source: /cvs/jra1mw/org.glite.security.lcmaps/src/grid_credential_handling/gsi_handling/_lcmaps_voms_attributes.h,v $ 00060 $Date: 2004/12/02 17:17:53 $ 00061 $Revision: 1.1 $ 00062 $Author: msteenba $ 00063 ******************************************************************************/