globus_callout  3.14
globus_callout.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_CALLOUT_H_
18 #define _GLOBUS_CALLOUT_H_
19 
27 #include "globus_common.h"
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
34 #ifndef GLOBUS_GLOBAL_DOCUMENT_SET
35 
39 #endif
40 
117 #define GLOBUS_CALLOUT_MODULE (&globus_i_callout_module)
118 
119 extern
120 globus_module_descriptor_t globus_i_callout_module;
121 
122 
127 typedef struct globus_i_callout_handle_s * globus_callout_handle_t;
128 
129 
134 typedef globus_result_t (*globus_callout_function_t)(
135  va_list ap);
136 
137 
148 globus_result_t
150  globus_callout_handle_t * handle);
151 
152 globus_result_t
154  globus_callout_handle_t handle);
155 
167 globus_result_t
169  globus_callout_handle_t handle,
170  char * filename);
171 
172 globus_result_t
174  globus_callout_handle_t handle,
175  char * type,
176  char * library,
177  char * symbol);
178 
189 globus_result_t
191  globus_callout_handle_t handle,
192  char * type,
193  ...);
194 
195 
196 #ifdef __cplusplus
197 }
198 #endif
199 
200 #endif
globus_result_t globus_callout_handle_destroy(globus_callout_handle_t handle)
Definition: globus_callout.c:234
globus_module_descriptor_t globus_i_callout_module
Definition: globus_callout.c:61
globus_result_t globus_callout_register(globus_callout_handle_t handle, char *type, char *library, char *symbol)
Definition: globus_callout.c:595
struct globus_i_callout_handle_s * globus_callout_handle_t
Definition: globus_callout.h:127
Globus Callout Infrastructure.
globus_result_t globus_callout_call_type(globus_callout_handle_t handle, char *type,...)
Definition: globus_callout.c:719
globus_result_t globus_callout_read_config(globus_callout_handle_t handle, char *filename)
Definition: globus_callout.c:290
globus_result_t globus_callout_handle_init(globus_callout_handle_t *handle)
Definition: globus_callout.c:171
globus_result_t(* globus_callout_function_t)(va_list ap)
Definition: globus_callout.h:134