Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

lcas_vo_data.h

Go to the documentation of this file.
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 
00008 /*                                                                                                            
00009  * Copyright (c) 2001 EU DataGrid.                                                                             
00010  * For license conditions see http://www.eu-datagrid.org/license.html                                          
00011  *
00012  * Copyright (c) 2001, 2002 by 
00013  *     Martijn Steenbakkers <martijn@nikhef.nl>,
00014  *     David Groep <davidg@nikhef.nl>,
00015  *     NIKHEF Amsterdam, the Netherlands
00016  */
00017 
00032 #ifndef LCAS_VO_DATA_H
00033 #define LCAS_VO_DATA_H
00034 
00035 /******************************************************************************
00036                              Include header files
00037 ******************************************************************************/
00038 
00039 
00040 /******************************************************************************
00041                                Type definitions
00042 ******************************************************************************/
00043 
00053 typedef struct lcas_vo_data_s
00054 {
00055     char * vo;         
00056     char * group;      
00057     char * subgroup;   
00058     char * role;       
00059     char * capability; 
00060 } lcas_vo_data_t;
00061 
00062 /******************************************************************************
00063  *                 Module definition
00064  *****************************************************************************/ 
00065 
00066 extern lcas_vo_data_t *
00067 lcas_createVoData(
00068     const char * vo,
00069     const char * group,
00070     const char * subgroup,
00071     const char * role,
00072     const char * capability
00073 );
00074 
00075 extern int
00076 lcas_deleteVoData(
00077     lcas_vo_data_t ** vo_data
00078 );
00079 
00080 extern int
00081 lcas_cleanVoData(
00082     lcas_vo_data_t * vo_data
00083 );
00084 
00085 extern int
00086 lcas_copyVoData(
00087     lcas_vo_data_t * dst_vo_data,
00088     const lcas_vo_data_t * src_vo_data
00089 );
00090 
00091 extern int
00092 lcas_printVoData(
00093     int debug_level,
00094     const lcas_vo_data_t * vo_data
00095 );
00096 
00097 extern int
00098 lcas_stringVoData(
00099     const lcas_vo_data_t * vo_data,
00100     char * buffer,
00101     int nchars
00102 );
00103 
00104 extern char *
00105 lcas_parseVostring(
00106     char * vo_string
00107 );
00108 
00109 #endif /* LCAS_VO_DATA_H */
00110 
00111 /******************************************************************************
00112 CVS Information:
00113     $Source: /cvs/jra1mw/org.glite.security.lcas-plugins-voms/src/voms/lcas_vo_data.h,v $
00114     $Date: 2004/10/14 16:05:28 $
00115     $Revision: 1.4 $
00116     $Author: msteenba $
00117 ******************************************************************************/

Generated on Fri May 27 18:10:48 2005 for lcas by doxygen 1.3.5