---
name: "gsi_driver_cntls"
section: "3"
platform: "linux"
package: "libglobus-xio-gsi-driver-doc"
version: "2.3-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/gsi_driver_cntls"
---

# gsi\_driver\_cntls(3)

## NAME

Attributes and Cntls -

### Enumerations

enum **globus\_xio\_gsi\_cmd\_t** { **GLOBUS\_XIO\_GSI\_SET\_CREDENTIAL**, **GLOBUS\_XIO\_GSI\_GET\_CREDENTIAL**, **GLOBUS\_XIO\_GSI\_SET\_GSSAPI\_REQ\_FLAGS**, **GLOBUS\_XIO\_GSI\_GET\_GSSAPI\_REQ\_FLAGS**, **GLOBUS\_XIO\_GSI\_SET\_PROXY\_MODE**, **GLOBUS\_XIO\_GSI\_GET\_PROXY\_MODE**, **GLOBUS\_XIO\_GSI\_SET\_AUTHORIZATION\_MODE**, **GLOBUS\_XIO\_GSI\_GET\_AUTHORIZATION\_MODE**, **GLOBUS\_XIO\_GSI\_SET\_DELEGATION\_MODE**, **GLOBUS\_XIO\_GSI\_GET\_DELEGATION\_MODE**, **GLOBUS\_XIO\_GSI\_SET\_SSL\_COMPATIBLE**, **GLOBUS\_XIO\_GSI\_SET\_ANON**, **GLOBUS\_XIO\_GSI\_SET\_WRAP\_MODE**, **GLOBUS\_XIO\_GSI\_GET\_WRAP\_MODE**, **GLOBUS\_XIO\_GSI\_SET\_BUFFER\_SIZE**, **GLOBUS\_XIO\_GSI\_GET\_BUFFER\_SIZE**, **GLOBUS\_XIO\_GSI\_SET\_PROTECTION\_LEVEL**, **GLOBUS\_XIO\_GSI\_GET\_PROTECTION\_LEVEL**, **GLOBUS\_XIO\_GSI\_GET\_TARGET\_NAME**, **GLOBUS\_XIO\_GSI\_SET\_TARGET\_NAME**, **GLOBUS\_XIO\_GSI\_GET\_CONTEXT**, **GLOBUS\_XIO\_GSI\_GET\_DELEGATED\_CRED**, **GLOBUS\_XIO\_GSI\_GET\_PEER\_NAME**, **GLOBUS\_XIO\_GSI\_GET\_LOCAL\_NAME**, **GLOBUS\_XIO\_GSI\_INIT\_DELEGATION**, **GLOBUS\_XIO\_GSI\_REGISTER\_INIT\_DELEGATION**, **GLOBUS\_XIO\_GSI\_ACCEPT\_DELEGATION**, **GLOBUS\_XIO\_GSI\_REGISTER\_ACCEPT\_DELEGATION**, **GLOBUS\_XIO\_GSI\_FORCE\_SERVER\_MODE**, **GLOBUS\_XIO\_GSI\_SET\_ALLOW\_MISSING\_SIGNING\_POLICY**, **GLOBUS\_XIO\_GSI\_GET\_ALLOW\_MISSING\_SIGNING\_POLICY** }\

### Functions

globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_GSI\_SET\_CREDENTIAL**, gss\_cred\_id\_t credential)\
 globus\_result\_t **globus\_xio\_handle\_cntl** (handle, driver, **GLOBUS\_XIO\_GSI\_SET\_CREDENTIAL**, gss\_cred\_id\_t credential)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_GSI\_GET\_CREDENTIAL**, gss\_cred\_id\_t \*credential)\
 globus\_result\_t **globus\_xio\_handle\_cntl** (handle, driver, **GLOBUS\_XIO\_GSI\_GET\_CREDENTIAL**, gss\_cred\_id\_t \*credential)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_GSI\_SET\_GSSAPI\_REQ\_FLAGS**, OM\_uint32 req\_flags)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_GSI\_GET\_GSSAPI\_REQ\_FLAGS**, OM\_uint32 \*req\_flags)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_GSI\_SET\_PROXY\_MODE**, **globus\_xio\_gsi\_proxy\_mode\_t** proxy\_mode)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_GSI\_GET\_PROXY\_MODE**, **globus\_xio\_gsi\_proxy\_mode\_t** \*proxy\_mode)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_GSI\_SET\_AUTHORIZATION\_MODE**, **globus\_xio\_gsi\_authorization\_mode\_t** authz\_mode)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_GSI\_GET\_AUTHORIZATION\_MODE**, **globus\_xio\_gsi\_authorization\_mode\_t** \*authz\_mode)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_GSI\_SET\_DELEGATION\_MODE**, **globus\_xio\_gsi\_delegation\_mode\_t** delegation\_mode)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_GSI\_GET\_DELEGATION\_MODE**, **globus\_xio\_gsi\_delegation\_mode\_t** \*delegation\_mode)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_GSI\_SET\_SSL\_COMPATIBLE**, globus\_bool\_t ssl\_mode)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_GSI\_SET\_ANON**, globus\_bool\_t anon\_mode)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_GSI\_SET\_WRAP\_MODE**, globus\_boolean\_t wrap\_mode)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_GSI\_GET\_WRAP\_MODE**, globus\_boolean\_t \*wrap\_mode)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_GSI\_SET\_BUFFER\_SIZE**, globus\_size\_t buffer\_size)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_GSI\_GET\_BUFFER\_SIZE**, globus\_size\_t \*buffer\_size)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_GSI\_SET\_PROTECTION\_LEVEL**, **globus\_xio\_gsi\_protection\_level\_t** protection\_level)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_GSI\_GET\_PROTECTION\_LEVEL**, **globus\_xio\_gsi\_protection\_level\_t** \*protection\_level)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_GSI\_GET\_TARGET\_NAME**, gss\_name\_t \*target\_name)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_GSI\_SET\_TARGET\_NAME**, gss\_name\_t target\_name)\
 globus\_result\_t **globus\_xio\_handle\_cntl** (handle, driver, **GLOBUS\_XIO\_GSI\_GET\_CONTEXT**, gss\_ctx\_id\_t \*context)\
 globus\_result\_t **globus\_xio\_handle\_cntl** (handle, driver, **GLOBUS\_XIO\_GSI\_GET\_DELEGATED\_CRED**, gss\_cred\_id\_t \*credential)\
 globus\_result\_t **globus\_xio\_handle\_cntl** (handle, driver, **GLOBUS\_XIO\_GSI\_GET\_PEER\_NAME**, gss\_name\_t \*peer\_name)\
 globus\_result\_t **globus\_xio\_handle\_cntl** (handle, driver, **GLOBUS\_XIO\_GSI\_GET\_LOCAL\_NAME**, gss\_name\_t \*local\_name)\
 globus\_result\_t **globus\_xio\_handle\_cntl** (handle, driver, **GLOBUS\_XIO\_GSI\_INIT\_DELEGATION**, gss\_cred\_id\_t credential, gss\_OID\_set restriction\_oids, gss\_buffer\_set\_t restriction\_buffers, OM\_uint32 time\_req)\
 globus\_result\_t **globus\_xio\_handle\_cntl** (handle, driver, **GLOBUS\_XIO\_GSI\_REGISTER\_INIT\_DELEGATION**, gss\_cred\_id\_t credential, gss\_OID\_set restriction\_oids, gss\_buffer\_set\_t restriction\_buffers, OM\_uint32 time\_req, **globus\_xio\_gsi\_delegation\_init\_callback\_t** callback, void \*callback\_arg)\
 globus\_result\_t **globus\_xio\_handle\_cntl** (handle, driver, **GLOBUS\_XIO\_GSI\_ACCEPT\_DELEGATION**, gss\_cred\_id\_t \*credential, gss\_OID\_set restriction\_oids, gss\_buffer\_set\_t restriction\_buffers, OM\_uint32 time\_req)\
 globus\_result\_t **globus\_xio\_handle\_cntl** (handle, driver, **GLOBUS\_XIO\_GSI\_REGISTER\_ACCEPT\_DELEGATION**, gss\_OID\_set restriction\_oids, gss\_buffer\_set\_t restriction\_buffers, OM\_uint32 time\_req, **globus\_xio\_gsi\_delegation\_accept\_callback\_t** callback, void \*callback\_arg)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_GSI\_FORCE\_SERVER\_MODE**, globus\_bool\_t server\_mode)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_GSI\_SET\_ALLOW\_MISSING\_SIGNING\_POLICY**, globus\_bool\_t allow)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_GSI\_GET\_ALLOW\_MISSING\_SIGNING\_POLICY**, globus\_bool\_t \*allow)\

## Detailed Description

GSI driver specific attrs and cntls.

**See also:**

**globus\_xio\_attr\_cntl** ()

**globus\_xio\_handle\_cntl** ()

## Enumeration Type Documentation

### enum globus\_xio\_gsi\_cmd\_t

doxygen varargs filter stuff GSI driver specific cntls

**Enumerator:**

- *GLOBUS\_XIO\_GSI\_SET\_CREDENTIAL*

  *See usage for:* **globus\_xio\_attr\_cntl** *,* **globus\_xio\_handle\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_GET\_CREDENTIAL*

  *See usage for:* **globus\_xio\_attr\_cntl** *,* **globus\_xio\_handle\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_SET\_GSSAPI\_REQ\_FLAGS*

  *See usage for:* **globus\_xio\_attr\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_GET\_GSSAPI\_REQ\_FLAGS*

  *See usage for:* **globus\_xio\_attr\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_SET\_PROXY\_MODE*

  *See usage for:* **globus\_xio\_attr\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_GET\_PROXY\_MODE*

  *See usage for:* **globus\_xio\_attr\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_SET\_AUTHORIZATION\_MODE*

  *See usage for:* **globus\_xio\_attr\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_GET\_AUTHORIZATION\_MODE*

  *See usage for:* **globus\_xio\_attr\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_SET\_DELEGATION\_MODE*

  *See usage for:* **globus\_xio\_attr\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_GET\_DELEGATION\_MODE*

  *See usage for:* **globus\_xio\_attr\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_SET\_SSL\_COMPATIBLE*

  *See usage for:* **globus\_xio\_attr\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_SET\_ANON*

  *See usage for:* **globus\_xio\_attr\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_SET\_WRAP\_MODE*

  *See usage for:* **globus\_xio\_attr\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_GET\_WRAP\_MODE*

  *See usage for:* **globus\_xio\_attr\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_SET\_BUFFER\_SIZE*

  *See usage for:* **globus\_xio\_attr\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_GET\_BUFFER\_SIZE*

  *See usage for:* **globus\_xio\_attr\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_SET\_PROTECTION\_LEVEL*

  *See usage for:* **globus\_xio\_attr\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_GET\_PROTECTION\_LEVEL*

  *See usage for:* **globus\_xio\_attr\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_GET\_TARGET\_NAME*

  *See usage for:* **globus\_xio\_attr\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_SET\_TARGET\_NAME*

  *See usage for:* **globus\_xio\_attr\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_GET\_CONTEXT*

  *See usage for:* **globus\_xio\_handle\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_GET\_DELEGATED\_CRED*

  *See usage for:* **globus\_xio\_handle\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_GET\_PEER\_NAME*

  *See usage for:* **globus\_xio\_handle\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_GET\_LOCAL\_NAME*

  *See usage for:* **globus\_xio\_handle\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_INIT\_DELEGATION*

  *See usage for:* **globus\_xio\_handle\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_REGISTER\_INIT\_DELEGATION*

  *See usage for:* **globus\_xio\_handle\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_ACCEPT\_DELEGATION*

  *See usage for:* **globus\_xio\_handle\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_REGISTER\_ACCEPT\_DELEGATION*

  *See usage for:* **globus\_xio\_handle\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_FORCE\_SERVER\_MODE*

  *See usage for:* **globus\_xio\_attr\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_SET\_ALLOW\_MISSING\_SIGNING\_POLICY*

  *See usage for:* **globus\_xio\_attr\_cntl** *.*

- *GLOBUS\_XIO\_GSI\_GET\_ALLOW\_MISSING\_SIGNING\_POLICY*

  *See usage for:* **globus\_xio\_attr\_cntl** *.*

## Function Documentation

### globus\_result\_t globus\_xio\_attr\_cntl (attr, driver, GLOBUS\_XIO\_GSI\_SET\_CREDENTIAL, gss\_cred\_id\_tcredential)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the credential to be used.* **Parameters:**

*credential The credential to set. The credential structure needs to remain valid for the lifetime of any xio datastructure it is used by.*

**Note:**

*If this is called with the handle\_cntl, there must be no outstanding operations on the handle.*

### globus\_result\_t globus\_xio\_handle\_cntl (handle, driver, GLOBUS\_XIO\_GSI\_SET\_CREDENTIAL, gss\_cred\_id\_tcredential)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the credential to be used.* **Parameters:**

*credential The credential to set. The credential structure needs to remain valid for the lifetime of any xio datastructure it is used by.*

**Note:**

*If this is called with the handle\_cntl, there must be no outstanding operations on the handle.*

### globus\_result\_t globus\_xio\_attr\_cntl (attr, driver, GLOBUS\_XIO\_GSI\_GET\_CREDENTIAL, gss\_cred\_id\_t \*credential)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the credential to be used.* **Parameters:**

*credential The credential that is currently set. This will only return a credential if a credential was explicitly set prior to this call. It will not return any credential automatically acquired during context initizalization.*

### globus\_result\_t globus\_xio\_handle\_cntl (handle, driver, GLOBUS\_XIO\_GSI\_GET\_CREDENTIAL, gss\_cred\_id\_t \*credential)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the credential to be used.* **Parameters:**

*credential The credential that is currently set. This will only return a credential if a credential was explicitly set prior to this call. It will not return any credential automatically acquired during context initizalization.*

### globus\_result\_t globus\_xio\_attr\_cntl (attr, driver, GLOBUS\_XIO\_GSI\_SET\_GSSAPI\_REQ\_FLAGS, OM\_uint32req\_flags)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the GSSAPI req\_flags to be used.* **Parameters:**

*req\_flags The req\_flags to set*

### globus\_result\_t globus\_xio\_attr\_cntl (attr, driver, GLOBUS\_XIO\_GSI\_GET\_GSSAPI\_REQ\_FLAGS, OM\_uint32 \*req\_flags)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the GSSAPI req\_flags to be used.* **Parameters:**

*req\_flags The req flags currently in effect*

### globus\_result\_t globus\_xio\_attr\_cntl (attr, driver, GLOBUS\_XIO\_GSI\_SET\_PROXY\_MODE, globus\_xio\_gsi\_proxy\_mode\_tproxy\_mode)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the proxy mode.* **Parameters:**

*proxy\_mode The proxy mode to set*

**Note:**

*Changing the proxy mode changes the req\_flags*

### globus\_result\_t globus\_xio\_attr\_cntl (attr, driver, GLOBUS\_XIO\_GSI\_GET\_PROXY\_MODE, globus\_xio\_gsi\_proxy\_mode\_t \*proxy\_mode)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the proxy mode.* **Parameters:**

*proxy\_mode The proxy mode that is currently in effect*

**Note:**

*Changing the proxy mode changes the req\_flags*

### globus\_result\_t globus\_xio\_attr\_cntl (attr, driver, GLOBUS\_XIO\_GSI\_SET\_AUTHORIZATION\_MODE, globus\_xio\_gsi\_authorization\_mode\_tauthz\_mode)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the authorization mode.* **Parameters:**

*authz\_mode The authorization mode to set*

### globus\_result\_t globus\_xio\_attr\_cntl (attr, driver, GLOBUS\_XIO\_GSI\_GET\_AUTHORIZATION\_MODE, globus\_xio\_gsi\_authorization\_mode\_t \*authz\_mode)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the authorization mode.* **Parameters:**

*authz\_mode The authorization mode that is currently in effect*

### globus\_result\_t globus\_xio\_attr\_cntl (attr, driver, GLOBUS\_XIO\_GSI\_SET\_DELEGATION\_MODE, globus\_xio\_gsi\_delegation\_mode\_tdelegation\_mode)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the delegation mode.* **Parameters:**

*delegation\_mode The delegation mode to use*

**Note:**

*Changing the delegation mode changes the req\_flags*

### globus\_result\_t globus\_xio\_attr\_cntl (attr, driver, GLOBUS\_XIO\_GSI\_GET\_DELEGATION\_MODE, globus\_xio\_gsi\_delegation\_mode\_t \*delegation\_mode)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the delegation mode.* **Parameters:**

*delegation\_mode The delegation mode currently in effect*

### globus\_result\_t globus\_xio\_attr\_cntl (attr, driver, GLOBUS\_XIO\_GSI\_SET\_SSL\_COMPATIBLE, globus\_bool\_tssl\_mode)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Make the on the wire protocol SSL compatible. This implies no wrapping of security tokens and no delegation*

**Parameters:**

*ssl\_mode The ssl compatibility mode to use*

**Note:**

*Changing the ssl compatibility mode changes the req\_flags*

### globus\_result\_t globus\_xio\_attr\_cntl (attr, driver, GLOBUS\_XIO\_GSI\_SET\_ANON, globus\_bool\_tanon\_mode)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Do anonymous authentication.* **Parameters:**

*anon\_mode The ssl compatibility mode to use*

**Note:**

*Changing the ssl compatibility mode changes the req\_flags and the wrapping mode*

### globus\_result\_t globus\_xio\_attr\_cntl (attr, driver, GLOBUS\_XIO\_GSI\_SET\_WRAP\_MODE, globus\_boolean\_twrap\_mode)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the wrapping mode*

*This mode determines whether tokens will be wrapped with a Globus IO style header or not.* **Parameters:**

*wrap\_mode The wrapping mode to use*

### globus\_result\_t globus\_xio\_attr\_cntl (attr, driver, GLOBUS\_XIO\_GSI\_GET\_WRAP\_MODE, globus\_boolean\_t \*wrap\_mode)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the wrapping mode*

*This mode determines whether tokens will be wrapped with a Globus IO style header or not.* **Parameters:**

*wrap\_mode The wrapping mode currently in use.*

### globus\_result\_t globus\_xio\_attr\_cntl (attr, driver, GLOBUS\_XIO\_GSI\_SET\_BUFFER\_SIZE, globus\_size\_tbuffer\_size)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the read buffer size*

*The read buffer is used for buffering wrapped data, is initialized with a default size of 128K and scaled dynamically to always be able to fit whole tokens.* **Parameters:**

*buffer\_size The size of the read buffer*

### globus\_result\_t globus\_xio\_attr\_cntl (attr, driver, GLOBUS\_XIO\_GSI\_GET\_BUFFER\_SIZE, globus\_size\_t \*buffer\_size)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the read buffer size*

*The read buffer is used for buffering wrapped data, is initialized with a default size of 128K and scaled dynamically to always be able to fit whole tokens.* **Parameters:**

*buffer\_size The size of the read buffer*

### globus\_result\_t globus\_xio\_attr\_cntl (attr, driver, GLOBUS\_XIO\_GSI\_SET\_PROTECTION\_LEVEL, globus\_xio\_gsi\_protection\_level\_tprotection\_level)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the protection level.* **Parameters:**

*protection\_level The protection level to set*

**Note:**

*Changing the proxy mode changes the req\_flags*

### globus\_result\_t globus\_xio\_attr\_cntl (attr, driver, GLOBUS\_XIO\_GSI\_GET\_PROTECTION\_LEVEL, globus\_xio\_gsi\_protection\_level\_t \*protection\_level)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the protection level.* **Parameters:**

*protection\_level The current protection level*

### globus\_result\_t globus\_xio\_attr\_cntl (attr, driver, GLOBUS\_XIO\_GSI\_GET\_TARGET\_NAME, gss\_name\_t \*target\_name)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the expected peer name.* **Parameters:**

*target\_name The expected peer name*

### globus\_result\_t globus\_xio\_attr\_cntl (attr, driver, GLOBUS\_XIO\_GSI\_SET\_TARGET\_NAME, gss\_name\_ttarget\_name)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the expected peer name.* **Parameters:**

*target\_name The expected peer name*

### globus\_result\_t globus\_xio\_handle\_cntl (handle, driver, GLOBUS\_XIO\_GSI\_GET\_CONTEXT, gss\_ctx\_id\_t \*context)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the GSS context.* **Parameters:**

*context The GSS context*

### globus\_result\_t globus\_xio\_handle\_cntl (handle, driver, GLOBUS\_XIO\_GSI\_GET\_DELEGATED\_CRED, gss\_cred\_id\_t \*credential)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the delegated credential.* **Parameters:**

*credential The delegated credential*

### globus\_result\_t globus\_xio\_handle\_cntl (handle, driver, GLOBUS\_XIO\_GSI\_GET\_PEER\_NAME, gss\_name\_t \*peer\_name)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the name of the peer.* **Parameters:**

*peer\_name The GSS name of the peer.*

### globus\_result\_t globus\_xio\_handle\_cntl (handle, driver, GLOBUS\_XIO\_GSI\_GET\_LOCAL\_NAME, gss\_name\_t \*local\_name)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the GSS name associated with the local credentials.* **Parameters:**

*local\_name The GSS name of the local credentials*

### globus\_result\_t globus\_xio\_handle\_cntl (handle, driver, GLOBUS\_XIO\_GSI\_INIT\_DELEGATION, gss\_cred\_id\_tcredential, gss\_OID\_setrestriction\_oids, gss\_buffer\_set\_trestriction\_buffers, OM\_uint32time\_req)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Initialize delegation-at-any-time process.* **Parameters:**

*credential The GSS credential to delegate* \
 *restriction\_oids The OIDS for X.509 extensions to embed in the delegated credential* \
 *restriction\_buffers The corresponding bodies for the X.509 extensions* \
 *time\_req The lifetime of the delegated credential*

### globus\_result\_t globus\_xio\_handle\_cntl (handle, driver, GLOBUS\_XIO\_GSI\_REGISTER\_INIT\_DELEGATION, gss\_cred\_id\_tcredential, gss\_OID\_setrestriction\_oids, gss\_buffer\_set\_trestriction\_buffers, OM\_uint32time\_req, globus\_xio\_gsi\_delegation\_init\_callback\_tcallback, void \*callback\_arg)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Initialize non-blocking delegation-at-any-time process.* **Parameters:**

*credential The GSS credential to delegate* \
 *restriction\_oids The OIDS for X.509 extensions to embed in the delegated credential* \
 *restriction\_buffers The corresponding bodies for the X.509 extensions* \
 *time\_req The lifetime of the delegated credential* \
 *callback The callback to call when the operation completes* \
 *callback\_arg The arguments to pass to the callback*

### globus\_result\_t globus\_xio\_handle\_cntl (handle, driver, GLOBUS\_XIO\_GSI\_ACCEPT\_DELEGATION, gss\_cred\_id\_t \*credential, gss\_OID\_setrestriction\_oids, gss\_buffer\_set\_trestriction\_buffers, OM\_uint32time\_req)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Accept delegation-at-any-time process.* **Parameters:**

*credential The delegated GSS credential* \
 *restriction\_oids The OIDS for X.509 extensions to embed in the delegated credential* \
 *restriction\_buffers The corresponding bodies for the X.509 extensions* \
 *time\_req The requested lifetime of the delegated credential*

### globus\_result\_t globus\_xio\_handle\_cntl (handle, driver, GLOBUS\_XIO\_GSI\_REGISTER\_ACCEPT\_DELEGATION, gss\_OID\_setrestriction\_oids, gss\_buffer\_set\_trestriction\_buffers, OM\_uint32time\_req, globus\_xio\_gsi\_delegation\_accept\_callback\_tcallback, void \*callback\_arg)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Accept non-blocking delegation-at-any-time process.* **Parameters:**

*restriction\_oids The OIDS for X.509 extensions to embed in the delegated credential* \
 *restriction\_buffers The corresponding bodies for the X.509 extensions* \
 *time\_req The lifetime of the delegated credential* \
 *callback The callback to call when the operation completes* \
 *callback\_arg The arguments to pass to the callback*

### globus\_result\_t globus\_xio\_attr\_cntl (attr, driver, GLOBUS\_XIO\_GSI\_FORCE\_SERVER\_MODE, globus\_bool\_tserver\_mode)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Force the server mode setting. This explicitly sets the directionality of context establishment and delegation.*

**Parameters:**

*server\_mode The server mode.*

### globus\_result\_t globus\_xio\_attr\_cntl (attr, driver, GLOBUS\_XIO\_GSI\_SET\_ALLOW\_MISSING\_SIGNING\_POLICY, globus\_bool\_tallow)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the allow missing signing policy flag.* **Parameters:**

*allow The flag setting to use*

**Note:**

*Changing this flag changes the req\_flags*

### globus\_result\_t globus\_xio\_attr\_cntl (attr, driver, GLOBUS\_XIO\_GSI\_GET\_ALLOW\_MISSING\_SIGNING\_POLICY, globus\_bool\_t \*allow)

*This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the allow missing signing policy flag.* **Parameters:**

*allow The flag currently set*

## Author

*Generated automatically by Doxygen for globus xio gsi driver from the source code.*
