Grid Community Toolkit  6.2.1629922860 (tag: v6.2.20210826)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
globus_xio_gsi.h
Go to the documentation of this file.
1 /*
2  * Copyright 1999-2006 University of Chicago
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef GLOBUS_XIO_GSI_DRIVER_H
18 #define GLOBUS_XIO_GSI_DRIVER_H
19 
27 #include "gssapi.h"
28 #include "globus_common.h"
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
34 
35 #ifndef GLOBUS_GLOBAL_DOCUMENT_SET
36 
40 #endif
41 
138 typedef enum
139 {
161 
169 #define globus_xio_gsi_attr_cntl globus_xio_attr_cntl
170 #define globus_xio_gsi_handle_cntl globus_xio_handle_cntl
171 
176 typedef enum
177 {
189  /* gss_cred_id_t credential */
191 
202  /* gss_cred_id_t * credential */
204 
212  /* OM_uint32 req_flags */
222  /* OM_uint32 * req_flags */
224 
235  /* globus_xio_gsi_proxy_mode_t proxy_mode*/
237 
246  /* globus_xio_gsi_proxy_mode_t * proxy_mode*/
248 
258  /* globus_xio_gsi_authorization_mode_t authz_mode*/
260 
268  /* globus_xio_gsi_authorization_mode_t * authz_mode*/
279  /* globus_xio_gsi_delegation_mode_t delegation_mode*/
289  /* globus_xio_gsi_delegation_mode_t * delegation_mode*/
291 
304  /* globus_bool_t ssl_mode*/
306 
316  /* globus_bool_t anon_mode*/
318 
329  /* globus_bool_t wrap_mode*/
342  /* globus_bool_t * wrap_mode*/
344 
356  /* globus_size_t buffer_size*/
358 
370  /* globus_size_t * buffer_size*/
383  /* globus_xio_gsi_protection_level_t protection_level*/
385 
393  /* globus_xio_gsi_protection_level_t * protection_level*/
395 
403  /* gss_name_t * target_name */
405 
415  /* gss_name_t target_name */
417 
425  /* gss_ctx_id_t * context */
427 
435  /* gss_cred_id_t * credential */
437 
445  /* gss_name_t * peer_name */
447 
455  /* gss_name_t * local_name */
457 
472  /* gss_cred_id_t credential,
473  gss_OID_set restriction_oids,
474  gss_buffer_set_t restriction_buffers,
475  OM_uint32 time_req */
477 
496  /* gss_cred_id_t credential,
497  gss_OID_set restriction_oids,
498  gss_buffer_set_t restriction_buffers,
499  OM_uint32 time_req,
500  globus_xio_gsi_delegation_init_callback_t callback,
501  void * callback_arg */
517  /* gss_cred_id_t * credential,
518  gss_OID_set restriction_oids,
519  gss_buffer_set_t restriction_buffers,
520  OM_uint32 time_req */
522 
539  /* gss_OID_set restriction_oids,
540  gss_buffer_set_t restriction_buffers,
541  OM_uint32 time_req,
542  globus_xio_gsi_delegation_accept_callback_t callback,
543  void * callback_arg */
545 
556  /* globus_bool_t server_mode */
558 
567  /* globus_bool_t allow*/
569 
577  /* globus_bool_t * allow*/
579 
590  /* const char * directory */
592 
602  /* char ** protocols */
605 
610 typedef enum
611 {
619 
624 typedef enum
625 {
633 
638 typedef enum
639 {
649 
650 
655 typedef enum
656 {
672 
678  globus_result_t result,
679  void * user_arg);
680 
686  globus_result_t result,
687  gss_cred_id_t delegated_cred,
688  OM_uint32 time_rec,
689  void * user_arg);
690 
691 #ifdef __cplusplus
692 }
693 #endif
694 
695 #endif /* GLOBUS_XIO_GSI_DRIVER_H */
Definition: globus_xio_gsi.h:159
globus_xio_gsi_delegation_mode_t
Definition: globus_xio_gsi.h:326
Definition: globus_xio_gsi.h:250
Definition: globus_xio_gsi.h:333
Definition: globus_xio_gsi.h:186
Definition: globus_xio_gsi.h:319
Definition: globus_xio_gsi.h:218
Definition: globus_xio_gsi.h:293
Definition: globus_xio_gsi.h:198
globus_xio_gsi_cmd_t
Definition: globus_xio_gsi.h:174
Definition: globus_xio_gsi.h:182
Definition: globus_xio_gsi.h:194
Definition: globus_xio_gsi.h:206
Definition: globus_xio_gsi.h:143
Definition: globus_xio_gsi.h:190
Definition: globus_xio_gsi.h:305
void(* globus_xio_gsi_delegation_init_callback_t)(globus_result_t result, void *user_arg)
Definition: globus_xio_gsi.h:379
Definition: globus_xio_gsi.h:301
Definition: globus_xio_gsi.h:262
Definition: globus_xio_gsi.h:226
Definition: globus_xio_gsi.h:246
Definition: globus_xio_gsi.h:266
Definition: globus_xio_gsi.h:343
Definition: globus_xio_gsi.h:214
Definition: globus_xio_gsi.h:238
Definition: globus_xio_gsi.h:315
Definition: globus_xio_gsi.h:149
Definition: globus_xio_gsi.h:331
Definition: globus_xio_gsi.h:145
Definition: globus_xio_gsi.h:349
globus_xio_gsi_authorization_mode_t
Definition: globus_xio_gsi.h:357
Definition: globus_xio_gsi.h:222
globus_xio_gsi_protection_level_t
Definition: globus_xio_gsi.h:312
Definition: globus_xio_gsi.h:278
Definition: globus_xio_gsi.h:281
Definition: globus_xio_gsi.h:372
globus_xio_gsi_error_t
Definition: globus_xio_gsi.h:138
Headers common to all of Globus.
Definition: globus_xio_gsi.h:178
uint32_t globus_result_t
Definition: globus_types.h:99
Definition: globus_xio_gsi.h:270
Definition: globus_xio_gsi.h:274
Definition: globus_xio_gsi.h:230
Definition: globus_xio_gsi.h:347
Definition: globus_xio_gsi.h:329
Definition: globus_xio_gsi.h:210
globus_xio_gsi_proxy_mode_t
Definition: globus_xio_gsi.h:340
Definition: globus_xio_gsi.h:285
Definition: globus_xio_gsi.h:364
Definition: globus_xio_gsi.h:254
Definition: globus_xio_gsi.h:362
Definition: globus_xio_gsi.h:289
Definition: globus_xio_gsi.h:155
Definition: globus_xio_gsi.h:242
Definition: globus_xio_gsi.h:368
Definition: globus_xio_gsi.h:258
Definition: globus_xio_gsi.h:202
void(* globus_xio_gsi_delegation_accept_callback_t)(globus_result_t result, gss_cred_id_t delegated_cred, OM_uint32 time_rec, void *user_arg)
Definition: globus_xio_gsi.h:387
Definition: globus_xio_gsi.h:234
Definition: globus_xio_gsi.h:153
Definition: globus_xio_gsi.h:317
Definition: globus_xio_gsi.h:297