55 (OM_uint32 *minor_status, |
55 (OM_uint32 *minor_status, |
56 gss_name_t *name); |
56 gss_name_t *name); |
57 |
57 |
58 typedef OM_uint32 (*IMPORT_NAME_FN_PTR) |
58 typedef OM_uint32 (*IMPORT_NAME_FN_PTR) |
59 (OM_uint32 *minor_status, |
59 (OM_uint32 *minor_status, |
60 gss_buffer_t input_name_buffer, |
60 const gss_buffer_t input_name_buffer, |
61 gss_OID input_name_type, |
61 const gss_OID input_name_type, |
62 gss_name_t *output_name); |
62 gss_name_t *output_name); |
63 |
63 |
64 typedef OM_uint32 (*COMPARE_NAME_FN_PTR) |
64 typedef OM_uint32 (*COMPARE_NAME_FN_PTR) |
65 (OM_uint32 *minor_status, |
65 (OM_uint32 *minor_status, |
66 gss_name_t name1, |
66 gss_const_name_t name1, |
67 gss_name_t name2, |
67 gss_const_name_t name2, |
68 int *name_equal); |
68 int *name_equal); |
69 |
69 |
70 typedef OM_uint32 (*CANONICALIZE_NAME_FN_PTR) |
70 typedef OM_uint32 (*CANONICALIZE_NAME_FN_PTR) |
71 (OM_uint32 *minor_status, |
71 (OM_uint32 *minor_status, |
72 gss_name_t input_name, |
72 gss_const_name_t input_name, |
73 gss_OID mech_type, |
73 const gss_OID mech_type, |
74 gss_name_t *output_name); |
74 gss_name_t *output_name); |
75 |
75 |
76 typedef OM_uint32 (*EXPORT_NAME_FN_PTR) |
76 typedef OM_uint32 (*EXPORT_NAME_FN_PTR) |
77 (OM_uint32 *minor_status, |
77 (OM_uint32 *minor_status, |
78 gss_name_t input_name, |
78 gss_const_name_t input_name, |
79 gss_buffer_t exported_name); |
79 gss_buffer_t exported_name); |
80 |
80 |
81 typedef OM_uint32 (*DISPLAY_NAME_FN_PTR) |
81 typedef OM_uint32 (*DISPLAY_NAME_FN_PTR) |
82 (OM_uint32 *minor_status, |
82 (OM_uint32 *minor_status, |
83 gss_name_t input_name, |
83 gss_const_name_t input_name, |
84 gss_buffer_t output_name_buffer, |
84 gss_buffer_t output_name_buffer, |
85 gss_OID *output_name_type); |
85 gss_OID *output_name_type); |
86 |
86 |
87 typedef OM_uint32 (*ACQUIRE_CRED_FN_PTR) |
87 typedef OM_uint32 (*ACQUIRE_CRED_FN_PTR) |
88 (OM_uint32 *minor_status, |
88 (OM_uint32 *minor_status, |
89 gss_name_t desired_name, |
89 gss_const_name_t desired_name, |
90 OM_uint32 time_req, |
90 OM_uint32 time_req, |
91 gss_OID_set desired_mech, |
91 const gss_OID_set desired_mech, |
92 gss_cred_usage_t cred_usage, |
92 gss_cred_usage_t cred_usage, |
93 gss_cred_id_t *output_cred_handle, |
93 gss_cred_id_t *output_cred_handle, |
94 gss_OID_set *actual_mechs, |
94 gss_OID_set *actual_mechs, |
95 OM_uint32 *time_rec); |
95 OM_uint32 *time_rec); |
96 |
96 |
98 (OM_uint32 *minor_status, |
98 (OM_uint32 *minor_status, |
99 gss_cred_id_t *cred_handle); |
99 gss_cred_id_t *cred_handle); |
100 |
100 |
101 typedef OM_uint32 (*INQUIRE_CRED_FN_PTR) |
101 typedef OM_uint32 (*INQUIRE_CRED_FN_PTR) |
102 (OM_uint32 *minor_status, |
102 (OM_uint32 *minor_status, |
103 gss_cred_id_t cred_handle, |
103 gss_const_cred_id_t cred_handle, |
104 gss_name_t *name, |
104 gss_name_t *name, |
105 OM_uint32 *lifetime, |
105 OM_uint32 *lifetime, |
106 gss_cred_usage_t *cred_usage, |
106 gss_cred_usage_t *cred_usage, |
107 gss_OID_set *mechanisms); |
107 gss_OID_set *mechanisms); |
108 |
108 |
109 typedef OM_uint32 (*IMPORT_SEC_CONTEXT_FN_PTR) |
109 typedef OM_uint32 (*IMPORT_SEC_CONTEXT_FN_PTR) |
110 (OM_uint32 *minor_status, |
110 (OM_uint32 *minor_status, |
111 gss_buffer_t interprocess_token, |
111 const gss_buffer_t interprocess_token, |
112 gss_ctx_id_t *context_handle); |
112 gss_ctx_id_t *context_handle); |
113 |
113 |
114 typedef OM_uint32 (*INIT_SEC_CONTEXT_FN_PTR) |
114 typedef OM_uint32 (*INIT_SEC_CONTEXT_FN_PTR) |
115 (OM_uint32 *minor_status, |
115 (OM_uint32 *minor_status, |
116 gss_cred_id_t initiator_cred_handle, |
116 gss_const_cred_id_t initiator_cred_handle, |
117 gss_ctx_id_t *context_handle, |
117 gss_ctx_id_t *context_handle, |
118 gss_name_t *target_name, |
118 gss_const_name_t target_name, |
119 gss_OID mech_type, |
119 const gss_OID mech_type, |
120 OM_uint32 req_flags, |
120 OM_uint32 req_flags, |
121 OM_uint32 time_req, |
121 OM_uint32 time_req, |
122 gss_channel_bindings_t input_chan_bindings, |
122 const gss_channel_bindings_t input_chan_bindings, |
123 gss_buffer_t input_token, |
123 const gss_buffer_t input_token, |
124 gss_OID *actual_mech_type, |
124 gss_OID *actual_mech_type, |
125 gss_buffer_t output_token, |
125 gss_buffer_t output_token, |
126 OM_uint32 *ret_flags, |
126 OM_uint32 *ret_flags, |
127 OM_uint32 *time_rec); |
127 OM_uint32 *time_rec); |
128 |
128 |
129 typedef OM_uint32 (*ACCEPT_SEC_CONTEXT_FN_PTR) |
129 typedef OM_uint32 (*ACCEPT_SEC_CONTEXT_FN_PTR) |
130 (OM_uint32 *minor_status, |
130 (OM_uint32 *minor_status, |
131 gss_ctx_id_t *context_handle, |
131 gss_ctx_id_t *context_handle, |
132 gss_cred_id_t acceptor_cred_handle, |
132 gss_const_cred_id_t acceptor_cred_handle, |
133 gss_buffer_t input_token, |
133 const gss_buffer_t input_token, |
134 gss_channel_bindings_t input_chan_bindings, |
134 const gss_channel_bindings_t input_chan_bindings, |
135 gss_name_t *src_name, |
135 gss_name_t *src_name, |
136 gss_OID *mech_type, |
136 gss_OID *mech_type, |
137 gss_buffer_t output_token, |
137 gss_buffer_t output_token, |
138 OM_uint32 *ret_flags, |
138 OM_uint32 *ret_flags, |
139 OM_uint32 *time_rec, |
139 OM_uint32 *time_rec, |
140 gss_cred_id_t *delegated_cred_handle); |
140 gss_cred_id_t *delegated_cred_handle); |
141 |
141 |
142 typedef OM_uint32 (*INQUIRE_CONTEXT_FN_PTR) |
142 typedef OM_uint32 (*INQUIRE_CONTEXT_FN_PTR) |
143 (OM_uint32 *minor_status, |
143 (OM_uint32 *minor_status, |
144 gss_ctx_id_t context_handle, |
144 gss_const_ctx_id_t context_handle, |
145 gss_name_t *src_name, |
145 gss_name_t *src_name, |
146 gss_name_t *targ_name, |
146 gss_name_t *targ_name, |
147 OM_uint32 *lifetime_rec, |
147 OM_uint32 *lifetime_rec, |
148 gss_OID *mech_type, |
148 gss_OID *mech_type, |
149 OM_uint32 *ctx_flags, |
149 OM_uint32 *ctx_flags, |
155 gss_ctx_id_t *context_handle, |
155 gss_ctx_id_t *context_handle, |
156 gss_buffer_t output_token); |
156 gss_buffer_t output_token); |
157 |
157 |
158 typedef OM_uint32 (*CONTEXT_TIME_FN_PTR) |
158 typedef OM_uint32 (*CONTEXT_TIME_FN_PTR) |
159 (OM_uint32 *minor_status, |
159 (OM_uint32 *minor_status, |
160 gss_ctx_id_t *context_handle, |
160 gss_const_ctx_id_t context_handle, |
161 OM_uint32 *time_rec); |
161 OM_uint32 *time_rec); |
162 |
162 |
163 typedef OM_uint32 (*WRAP_SIZE_LIMIT_FN_PTR) |
163 typedef OM_uint32 (*WRAP_SIZE_LIMIT_FN_PTR) |
164 (OM_uint32 *minor_status, |
164 (OM_uint32 *minor_status, |
165 gss_ctx_id_t context_handle, |
165 gss_const_ctx_id_t context_handle, |
166 int conf_req_flag, |
166 int conf_req_flag, |
167 gss_qop_t qop_req, |
167 gss_qop_t qop_req, |
168 OM_uint32 req_output_size, |
168 OM_uint32 req_output_size, |
169 OM_uint32 *max_input_size); |
169 OM_uint32 *max_input_size); |
170 |
170 |
173 gss_ctx_id_t *context_handle, |
173 gss_ctx_id_t *context_handle, |
174 gss_buffer_t interprocess_token); |
174 gss_buffer_t interprocess_token); |
175 |
175 |
176 typedef OM_uint32 (*GET_MIC_FN_PTR) |
176 typedef OM_uint32 (*GET_MIC_FN_PTR) |
177 (OM_uint32 *minor_status, |
177 (OM_uint32 *minor_status, |
178 gss_ctx_id_t context_handle, |
178 gss_const_ctx_id_t context_handle, |
179 gss_qop_t qop_req, |
179 gss_qop_t qop_req, |
180 gss_buffer_t message_buffer, |
180 const gss_buffer_t message_buffer, |
181 gss_buffer_t msg_token); |
181 gss_buffer_t msg_token); |
182 |
182 |
183 typedef OM_uint32 (*VERIFY_MIC_FN_PTR) |
183 typedef OM_uint32 (*VERIFY_MIC_FN_PTR) |
184 (OM_uint32 *minor_status, |
184 (OM_uint32 *minor_status, |
185 gss_ctx_id_t context_handle, |
185 gss_const_ctx_id_t context_handle, |
186 gss_buffer_t message_buffer, |
186 const gss_buffer_t message_buffer, |
187 gss_buffer_t token_buffer, |
187 const gss_buffer_t token_buffer, |
188 gss_qop_t *qop_state); |
188 gss_qop_t *qop_state); |
189 |
189 |
190 typedef OM_uint32 (*WRAP_FN_PTR) |
190 typedef OM_uint32 (*WRAP_FN_PTR) |
191 (OM_uint32 *minor_status, |
191 (OM_uint32 *minor_status, |
192 gss_ctx_id_t context_handle, |
192 gss_const_ctx_id_t context_handle, |
193 int conf_req_flag, |
193 int conf_req_flag, |
194 gss_qop_t qop_req, |
194 gss_qop_t qop_req, |
195 gss_buffer_t input_message_buffer, |
195 const gss_buffer_t input_message_buffer, |
196 int *conf_state, |
196 int *conf_state, |
197 gss_buffer_t output_message_buffer); |
197 gss_buffer_t output_message_buffer); |
198 |
198 |
199 typedef OM_uint32 (*UNWRAP_FN_PTR) |
199 typedef OM_uint32 (*UNWRAP_FN_PTR) |
200 (OM_uint32 *minor_status, |
200 (OM_uint32 *minor_status, |
201 gss_ctx_id_t context_handle, |
201 gss_const_ctx_id_t context_handle, |
202 gss_buffer_t input_message_buffer, |
202 const gss_buffer_t input_message_buffer, |
203 gss_buffer_t output_message_buffer, |
203 gss_buffer_t output_message_buffer, |
204 int *conf_state, |
204 int *conf_state, |
205 gss_qop_t *qop_state); |
205 gss_qop_t *qop_state); |
206 |
206 |
207 typedef OM_uint32 (*INDICATE_MECHS_FN_PTR) |
207 typedef OM_uint32 (*INDICATE_MECHS_FN_PTR) |
213 const gss_OID mechanism, |
213 const gss_OID mechanism, |
214 gss_OID_set *name_types); |
214 gss_OID_set *name_types); |
215 |
215 |
216 typedef OM_uint32 (*ADD_OID_SET_MEMBER_FN_PTR) |
216 typedef OM_uint32 (*ADD_OID_SET_MEMBER_FN_PTR) |
217 (OM_uint32 *minor_status, |
217 (OM_uint32 *minor_status, |
218 gss_OID member_oid, |
218 const gss_OID member_oid, |
219 gss_OID_set *oid_set); |
219 gss_OID_set *oid_set); |
220 |
220 |
221 typedef OM_uint32 (*DISPLAY_STATUS_FN_PTR) |
221 typedef OM_uint32 (*DISPLAY_STATUS_FN_PTR) |
222 (OM_uint32 *minor_status, |
222 (OM_uint32 *minor_status, |
223 OM_uint32 status_value, |
223 OM_uint32 status_value, |
224 int status_type, |
224 int status_type, |
225 gss_OID mech_type, |
225 const gss_OID mech_type, |
226 OM_uint32 *message_context, |
226 OM_uint32 *message_context, |
227 gss_buffer_t status_string); |
227 gss_buffer_t status_string); |
228 |
228 |
229 typedef OM_uint32 (*CREATE_EMPTY_OID_SET_FN_PTR) |
229 typedef OM_uint32 (*CREATE_EMPTY_OID_SET_FN_PTR) |
230 (OM_uint32 *minor_status, |
230 (OM_uint32 *minor_status, |