Functions for invoking callouts.
This section defines a operation for invoking callouts by their abstract type.
typedef globus_result_t(* globus_callout_function_t)(va_list ap) |
Callout function type definition
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
- GLOBUS_SUCCESS A Globus error object on failure: GLOBUS_CALLOUT_ERROR_TYPE_NOT_REGISTERED GLOBUS_CALLOUT_ERROR_CALLOUT_ERROR GLOBUS_CALLOUT_ERROR_WITH_DL GLOBUS_CALLOUT_ERROR_WITH_HASHTABLE GLOBUS_CALLOUT_ERROR_OUT_OF_MEMORY