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

Diff of /trunk/grid-mw-security/ees/include/private/_aos.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1744 by aramv, Mon Jun 7 14:43:29 2010 UTC revision 1745 by aramv, Wed Jun 9 10:09:23 2010 UTC
# Line 58  struct aos_attribute_s { Line 58  struct aos_attribute_s {
58   * A container for attributes of a specific class.   * A container for attributes of a specific class.
59   */   */
60  struct aos_context_s {  struct aos_context_s {
61    struct aos_attribute_s*     list_attributes;                 /** a list of attributes */    struct aos_attribute_s*           list_attributes;                 /** a list of attributes */
62    struct aos_attribute_s*     last_attribute;                  /** the last attribute in the list */    struct aos_attribute_s*           last_attribute;                  /** the last attribute in the list */
63    enum aos_context_class_e    context_class;                   /** an aos_context_class_e denoting the type of attributes contained here */    enum aos_context_class_e          context_class;                   /** an aos_context_class_e denoting the type of attributes contained here */
64    char*                       obligation_name;                 /** used to store the name of an obligation if this context is of the class OBLIGATION */    char*                             obligation_name;                 /** used to store the name of an obligation if this context is of the class OBLIGATION */
65    struct aos_context_s *      next;                            /** pointer to the next context in the list */    struct aos_context_s *            next;                            /** pointer to the next context in the list */
66  };  };
67    
68  /**  /**
# Line 71  struct aos_context_s { Line 71  struct aos_context_s {
71   */   */
72  struct aos_storage_s {  struct aos_storage_s {
73    struct aos_context_s*             list_contexts;             /** a list of contexts */    struct aos_context_s*             list_contexts;             /** a list of contexts */
74    };
75    
76    struct aos_state_s {
77      struct aos_storage_s*             current_storage;
78      struct aos_storage_s*             saved_storage;
79    struct aos_context_s*             last_context;              /** the last context in the list */    struct aos_context_s*             last_context;              /** the last context in the list */
80  };  };
81    
82  static int                              _is_initialized;  static int                          _is_initialized;
83  static int                              _is_threading;  static int                          _is_threading;
84    
85  EES_RC                  aos_free_storage(struct aos_storage_s*);  EES_RC                              aos_free_storage(struct aos_storage_s*);
86  int                     aos_is_initialized(void);  int                                 aos_is_initialized(void);
87  struct aos_storage_s *  aos_get_storage(void);  struct aos_storage_s *              aos_get_storage(void);
88  void                    aos_make_key(void);  void                                aos_make_key(void);
89  void                    aos_clean_key(void *v);  void                                aos_clean_key(void *v);
90  void                    aos_free_key(void* storage);  void                                aos_free_key(void* storage);
91    
92  EES_RC                  aos_set_iterator(struct aos_context_s* context, struct aos_storage_s* storage);  EES_RC                              aos_set_iterator(struct aos_context_s* context);
93  struct aos_context_s*   aos_get_iterator(struct aos_storage_s* storage);  struct aos_context_s*               aos_get_iterator(void);
94  struct aos_storage_s*   localize_storage(struct aos_storage_s* storage);  struct aos_state_s*                 aos_get_state(void);
95    /*struct aos_storage_s*               localize_storage(struct aos_storage_s* storage);*/
96    
97  #endif  #endif
98    

Legend:
Removed from v.1744  
changed lines
  Added in v.1745

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