globus_callout  3.12
 All Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
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 
107 #define GLOBUS_CALLOUT_MODULE (&globus_i_callout_module)
108 
109 extern
110 globus_module_descriptor_t globus_i_callout_module;
111 
112 
117 typedef struct globus_i_callout_handle_s * globus_callout_handle_t;
118 
119 
124 typedef globus_result_t (*globus_callout_function_t)(
125  va_list ap);
126 
127 
137 globus_result_t
139  globus_callout_handle_t * handle);
140 
141 globus_result_t
143  globus_callout_handle_t handle);
144 
155 globus_result_t
157  globus_callout_handle_t handle,
158  char * filename);
159 
160 globus_result_t
162  globus_callout_handle_t handle,
163  char * type,
164  char * library,
165  char * symbol);
166 
176 globus_result_t
178  globus_callout_handle_t handle,
179  char * type,
180  ...);
181 
182 
183 #ifdef __cplusplus
184 }
185 #endif
186 
187 #endif
globus_result_t globus_callout_handle_destroy(globus_callout_handle_t handle)
Definition: globus_callout.c:243
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:616
globus_result_t(* globus_callout_function_t)(va_list ap)
Definition: globus_callout.h:124
struct globus_i_callout_handle_s * globus_callout_handle_t
Definition: globus_callout.h:117
Globus Callout Infrastructure.
globus_result_t globus_callout_call_type(globus_callout_handle_t handle, char *type,...)
Definition: globus_callout.c:754
globus_result_t globus_callout_read_config(globus_callout_handle_t handle, char *filename)
Definition: globus_callout.c:302
globus_result_t globus_callout_handle_init(globus_callout_handle_t *handle)
Definition: globus_callout.c:175