/[pdpsoft]/trunk/grid-mw-security/ees-plugins-one/include/private/ImageMapFile.h
ViewVC logotype

Annotation of /trunk/grid-mw-security/ees-plugins-one/include/private/ImageMapFile.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1648 - (hide annotations) (download) (as text)
Tue Apr 20 08:18:05 2010 UTC (12 years, 1 month ago) by ndijk
File MIME type: text/x-csrc
File size: 668 byte(s)
the ees-plugin-one is now able to properly read a gridmapfile to map things on other things;
1 ndijk 1648 #ifndef IMAGE_MAP_FILE_H
2     #define IMAGE_MAP_FILE_H
3    
4     #include "charlist.h"
5    
6     #define MATCH_NO_WILD_CHARS ((unsigned short)0x0000)
7     #define MATCH_WILD_CHARS ((unsigned short)0x0002)
8    
9    
10     typedef struct _gridmap_line_s {
11     char * match;
12     charlist_t * mappings;
13     } gridmap_line_t;
14    
15     typedef struct _gridmap_list {
16     gridmap_line_t * line;
17     struct _gridmap_list * next;
18     } gridmap_list_t;
19    
20     void gridmap_list_free(gridmap_list_t * list);
21     int parseImageMapFile(const char * image_map_file, gridmap_list_t ** list);
22     gridmap_line_t * find_mapping(const gridmap_list_t * list, const char * to_match, unsigned short matching_type);
23     #endif /* IMAGE_MAP_FILE_H */

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28