/[pdpsoft]/trunk/grid-mw-security/ees/include/common/pdl.h
ViewVC logotype

Diff of /trunk/grid-mw-security/ees/include/common/pdl.h

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

revision 1211 by aramv, Tue Dec 1 17:01:19 2009 UTC revision 1212 by aramv, Wed Dec 2 14:13:38 2009 UTC
# Line 43  Line 43 
43    
44  /* lifecycle functions */  /* lifecycle functions */
45  EES_RC              pdl_init(const char* config_file_name);  EES_RC              pdl_init(const char* config_file_name);
46  EES_RC              pdl_term(void);  EES_RC              pdl_term(policy_t* policies);
47  EES_RC              add_prepared_plugins(void);  EES_RC              add_prepared_plugins(void);
48    
49  policy_t*           get_policies(void);  policy_t*           get_policies(void);
50  policy_t*           reduce_policy_tree(policy_t* policies, int number_of_policies, char* names_of_policies[]);  policy_t**          reduce_policy_tree(policy_t** policies, int number_of_policies, char* names_of_policies[]);
51  EES_RC              link_rules_to_plugins(policy_t* policies);  EES_RC              link_rules_to_plugins(policy_t* policies);
52  void                link_rule_to_plugin(policy_t *policy, rule_t *rule);  void                link_rule_to_plugin(policy_t *policy, rule_t *rule);
53    
54  EES_RC              clean_variables_list(void);  EES_RC              clean_variables_list(void);
55  EES_RC              clean_policies_list(void);  EES_RC              clean_policies_list(policy_t* policies);
56  EES_RC              clean_rules_list(rule_t*);  rule_t*             clean_rules_list(rule_t*);
57    
58  /* callback functions */  /* callback functions */
59  void                set_pdl_path(record_t*);  void                set_pdl_path(record_t*);
# Line 61  void                add_policy(record_t* Line 61  void                add_policy(record_t*
61  rule_t *            add_rule(record_t*, record_t*, record_t*);  rule_t *            add_rule(record_t*, record_t*, record_t*);
62  const char *        get_pdl_path(void);  const char *        get_pdl_path(void);
63  void                remove_policy(record_t* policy);  void                remove_policy(record_t* policy);
64  void                remove_policy_by_name(policy_t* policies, char* policy);  policy_t*           remove_policy_by_name(policy_t* policies, char* policy);
65  void                add_variable(record_t* name, record_t* value);  void                add_variable(record_t* name, record_t* value);
66  EES_RC              allow_rules(int);  EES_RC              allow_rules(int);
67  EES_RC              allowed_policy_rule(const char* label);  EES_RC              allowed_policy_rule(const char* label);

Legend:
Removed from v.1211  
changed lines
  Added in v.1212

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