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

lcmaps_vo_data.h

Go to the documentation of this file.
00001 /*                                                                                                            
00002  * Copyright (c) 2001 EU DataGrid.                                                                             
00003  * For license conditions see http://www.eu-datagrid.org/license.html                                          
00004  *
00005  * Copyright (c) 2001, 2002 by 
00006  *     Martijn Steenbakkers <martijn@nikhef.nl>,
00007  *     David Groep <davidg@nikhef.nl>,
00008  *     NIKHEF Amsterdam, the Netherlands
00009  */
00010 
00025 #ifndef LCMAPS_VO_DATA_H
00026 #define LCMAPS_VO_DATA_H
00027 
00028 /******************************************************************************
00029                              Include header files
00030 ******************************************************************************/
00031 
00032 
00033 /******************************************************************************
00034                                Type definitions
00035 ******************************************************************************/
00036 
00046 typedef struct lcmaps_vo_data_s
00047 {
00048     char * vo;         
00049     char * group;      
00050     char * subgroup;   
00051     char * role;       
00052     char * capability; 
00053 } lcmaps_vo_data_t;
00054 
00055 /******************************************************************************
00056  *                 Module definition
00057  *****************************************************************************/ 
00058 
00059 extern lcmaps_vo_data_t *
00060 lcmaps_createVoData(
00061     const char * vo,
00062     const char * group,
00063     const char * subgroup,
00064     const char * role,
00065     const char * capability
00066 );
00067 
00068 extern int
00069 lcmaps_deleteVoData(
00070     lcmaps_vo_data_t ** vo_data
00071 );
00072 
00073 extern int
00074 lcmaps_cleanVoData(
00075     lcmaps_vo_data_t * vo_data
00076 );
00077 
00078 extern int
00079 lcmaps_copyVoData(
00080     lcmaps_vo_data_t * dst_vo_data,
00081     const lcmaps_vo_data_t * src_vo_data
00082 );
00083 
00084 extern int
00085 lcmaps_printVoData(
00086     int debug_level,
00087     const lcmaps_vo_data_t * vo_data
00088 );
00089 
00090 extern int
00091 lcmaps_stringVoData(
00092     const lcmaps_vo_data_t * vo_data,
00093     char * buffer,
00094     int nchars
00095 );
00096 
00097 #endif /* LCMAPS_VO_DATA_H */
00098 
00099 /******************************************************************************
00100 CVS Information:
00101     $Source: /cvs/fabric_mgt/gridification/lcmaps/include/lcmaps_vo_data.h,v $
00102     $Date: 2003/07/10 16:33:23 $
00103     $Revision: 1.4 $
00104     $Author: martijn $
00105 ******************************************************************************/

Generated at Tue Sep 23 15:48:09 2003 for edg-lcmaps by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001