23 #ifndef _OLDGAA_POLICY_EVALUATOR_H
24 #define _OLDGAA_POLICY_EVALUATOR_H
37 oldgaa_handle_error(
char **errstring,
38 const char *
const message);
41 oldgaa_find_matching_entry(uint32 *minor_status,
42 oldgaa_principals_ptr ptr,
43 oldgaa_policy_ptr policy);
46 oldgaa_check_access_rights(oldgaa_sec_context_ptr sc,
47 oldgaa_rights_ptr requested_rights,
48 oldgaa_rights_ptr rights,
49 oldgaa_answer_ptr detailed_answer,
50 oldgaa_options_ptr options);
54 oldgaa_get_authorized_principals(oldgaa_sec_attrb_ptr *attributes,
55 oldgaa_policy_ptr policy,
56 oldgaa_principals_ptr principal,
57 oldgaa_rights_ptr rights);
64 oldgaa_evaluate_regex_cond(oldgaa_conditions_ptr condition,
65 oldgaa_options_ptr options);
68 oldgaa_evaluate_conditions(oldgaa_sec_context_ptr sc,
69 oldgaa_cond_bindings_ptr conditions,
70 oldgaa_options_ptr options);
73 oldgaa_evaluate_day_cond(oldgaa_conditions_ptr condition,
74 oldgaa_options_ptr options);
77 oldgaa_evaluate_time_cond(oldgaa_conditions_ptr condition,
78 oldgaa_options_ptr options);
81 oldgaa_evaluate_sech_mech_cond(oldgaa_principals_ptr principal,
82 oldgaa_conditions_ptr condition,
83 oldgaa_options_ptr options);