---
name: "globus_callout_function_t"
section: "3"
platform: "linux"
package: "libglobus-callout-doc"
version: "4.3-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/globus_callout_call"
---

# globus\_callout\_function\_t(3)

Callout Invocation - Invoke callouts.

Part of [globus\_callout\_call(3)](/globus_callout_call/3.md).

## NAME

globus\_callout\_call - Callout Invocation

 \- Invoke callouts.

## SYNOPSIS

### Typedefs

typedef globus\_result\_t(\* **globus\_callout\_function\_t**) (va\_list ap)\

### Functions

globus\_result\_t **globus\_callout\_call\_type** (**globus\_callout\_handle\_t** handle, char \*type,...)\

## Detailed Description

Invoke callouts.

This section defines a operation for invoking callouts by their abstract type.

## Typedef Documentation

### typedef globus\_result\_t(\* globus\_callout\_function\_t) (va\_list ap)

Callout function type definition

## Function Documentation

### globus\_result\_t globus\_callout\_call\_type (globus\_callout\_handle\_t handle, char \* type, ...)

Call a callout of specified abstract type

This function looks up the callouts corresponding to the given type and invokes them with the passed arguments. If a invoked callout returns an error it will be chained to a error of the type GLOBUS\_CALLOUT\_ERROR\_CALLOUT\_ERROR and no more callouts will be called.

**Parameters**

*handle* A configured callout handle \
 *type* The abstract type of the callout that is to be invoked

**Returns**

This function returns GLOBUS\_SUCCESS or a globus\_result\_t referring to an error object of one of the following types

**Return values**

*GLOBUS\_CALLOUT\_ERROR\_TYPE\_NOT\_REGISTERED* Callout type not registered \
 *GLOBUS\_CALLOUT\_ERROR\_CALLOUT\_ERROR* Callout function error \
 *GLOBUS\_CALLOUT\_ERROR\_WITH\_DL* Error with dlopen or dlsym \
 *GLOBUS\_CALLOUT\_ERROR\_WITH\_HASHTABLE* Error caching dlopen handle \
 *GLOBUS\_CALLOUT\_ERROR\_OUT\_OF\_MEMORY* Out of memory

## Author

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