---
name: "GLOBUS_GSI_AUTHZ_CALLOUT_CONFIGURATION_ERROR"
section: "3"
platform: "linux"
package: "libglobus-authz-callout-error-doc"
version: "4.2-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/globus_gsi_authz_callout_error"
---

# GLOBUS\_GSI\_AUTHZ\_CALLOUT\_CONFIGURATION\_ERROR(3)

GSI Authorization Callout Error API - Authorization Callout Error Objects.

Part of [globus\_gsi\_authz\_callout\_error(3)](/globus_gsi_authz_callout_error/3.md).

## NAME

globus\_gsi\_authz\_callout\_error - GSI Authorization Callout Error API

 \- Authorization Callout Error Objects.

## SYNOPSIS

### Macros

\#define **GLOBUS\_GSI\_AUTHZ\_CALLOUT\_ERROR\_MODULE**   (&globus\_gsi\_authz\_callout\_error\_module)\
 Module descriptor.  #define **GLOBUS\_GSI\_AUTHZ\_CALLOUT\_ERROR**(\_\_RESULT,  \_\_TYPE,  \_\_ERRSTR)\
 Create an authorization callout error object.  #define **GLOBUS\_GSI\_AUTHZ\_CALLOUT\_ERRNO\_ERROR**(\_\_RESULT,  \_\_ERRNO)\
 Create an authorization callout error object with an errno.

### Enumerations

enum **globus\_gsi\_authz\_callout\_error\_t** { **GLOBUS\_GSI\_AUTHZ\_CALLOUT\_AUTHZ\_CALLOUT\_ERROR** = 0, **GLOBUS\_GSI\_AUTHZ\_CALLOUT\_AUTHZ\_DENIED\_BY\_CALLOUT** = 1, **GLOBUS\_GSI\_AUTHZ\_CALLOUT\_CONFIGURATION\_ERROR** = 2, **GLOBUS\_GSI\_AUTHZ\_CALLOUT\_SYSTEM\_ERROR** = 3, **GLOBUS\_GSI\_AUTHZ\_CALLOUT\_CREDENTIAL\_ERROR** = 4, **GLOBUS\_GSI\_AUTHZ\_CALLOUT\_BAD\_ARGUMENT\_ERROR** = 5, **GLOBUS\_GSI\_AUTHZ\_CALLOUT\_ERROR\_LAST** = 6 }\
 Error codes.

## Detailed Description

Authorization Callout Error Objects.

The GSI Authorization Callout Error API defines a set of Globus error codes which are used by the error objects generated by the GSI Authorization API. Applications or libraries that wish to use this interface must include the **globus\_gsi\_authz\_callout\_error.h** header.

## Macro Definition Documentation

### #define GLOBUS\_GSI\_AUTHZ\_CALLOUT\_ERRNO\_ERROR(\_\_RESULT, \_\_ERRNO)

Create an authorization callout error object with an errno. Update the \_\_RESULT parameter to contain a new globus\_result\_t value pointing to an authorization error with the errno.

**Parameters**

*\_\_RESULT* A globus\_result\_t value pointing to a causal error. This will be modified by this macro to point to the new error object. \
 *\_\_ERRNO* The errno value of this new error object.

### #define GLOBUS\_GSI\_AUTHZ\_CALLOUT\_ERROR(\_\_RESULT, \_\_TYPE, \_\_ERRSTR)

Create an authorization callout error object. Update the \_\_RESULT parameter to contain a new globus\_result\_t value pointing to an authorization error of type \_\_TYPE with the detail string \_\_ERRSTR.

**Parameters**

*\_\_RESULT* A globus\_result\_t value pointing to a causal error. This will be modified by this macro to point to the new error object. \
 *\_\_TYPE* The authorization error value from the globus\_gsi\_authz\_callout\_error\_t enumeration. \
 *\_\_ERRSTR* A parenthesized printf string containing the description of the error

## Enumeration Type Documentation

### enum globus\_gsi\_authz\_callout\_error\_t

Error codes. Error code types used by the GSI Authorization Callout API

**Enumerator**

- *GLOBUS\_GSI\_AUTHZ\_CALLOUT\_AUTHZ\_CALLOUT\_ERROR*

  *Authz callout error*

- *GLOBUS\_GSI\_AUTHZ\_CALLOUT\_AUTHZ\_DENIED\_BY\_CALLOUT*

  *Authorization denied by callout*

- *GLOBUS\_GSI\_AUTHZ\_CALLOUT\_CONFIGURATION\_ERROR*

  *Configuration Error*

- *GLOBUS\_GSI\_AUTHZ\_CALLOUT\_SYSTEM\_ERROR*

  *System Error*

- *GLOBUS\_GSI\_AUTHZ\_CALLOUT\_CREDENTIAL\_ERROR*

  *Credentials Error*

- *GLOBUS\_GSI\_AUTHZ\_CALLOUT\_BAD\_ARGUMENT\_ERROR*

  *A invalid parameter was detected*

## Author

*Generated automatically by Doxygen for globus\_authz\_callout\_error from the source code.*
