Grid Community Toolkit  6.2.1629922860 (tag: v6.2.20210826)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
globus_net_manager_context.h
Go to the documentation of this file.
1 /*
2  * Copyright 1999-2014 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_NET_MANAGER_CONTEXT_H
18 #define GLOBUS_NET_MANAGER_CONTEXT_H 1
19 
25 #include "globus_common.h"
26 #include "globus_net_manager.h"
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
66 typedef struct globus_i_net_manager_context_s *globus_net_manager_context_t;
67 
70  globus_net_manager_context_t *context,
71  const globus_net_manager_attr_t *attrs);
72 
73 void
75  globus_net_manager_context_t context);
76 
79  globus_net_manager_context_t context,
80  const char *task_id,
81  const char *transport,
82  const globus_net_manager_attr_t *attr_array,
83  globus_net_manager_attr_t **attr_array_out);
84 
87  globus_net_manager_context_t context,
88  const char *task_id,
89  const char *transport,
90  const char *local_contact,
91  const globus_net_manager_attr_t *attr_array,
92  char **local_contact_out,
93  globus_net_manager_attr_t **attr_array_out);
94 
97  globus_net_manager_context_t context,
98  const char *task_id,
99  const char *transport,
100  const char *local_contact,
101  const globus_net_manager_attr_t *attr_array);
102 
105  globus_net_manager_context_t context,
106  const char *task_id,
107  const char *transport,
108  const char *local_contact,
109  const globus_net_manager_attr_t *attr_array,
110  globus_net_manager_attr_t **attr_array_out);
111 
114  globus_net_manager_context_t context,
115  const char *task_id,
116  const char *transport,
117  const char *local_contact,
118  const char *remote_contact,
119  const globus_net_manager_attr_t *attr_array,
120  globus_net_manager_attr_t **attr_array_out);
121 
124  globus_net_manager_context_t context,
125  const char *task_id,
126  const char *transport,
127  const char *remote_contact,
128  const globus_net_manager_attr_t *attr_array,
129  char **remote_contact_out,
130  globus_net_manager_attr_t **attr_array_out);
131 
134  globus_net_manager_context_t context,
135  const char *task_id,
136  const char *transport,
137  const char *local_contact,
138  const char *remote_contact,
139  const globus_net_manager_attr_t *attr_array,
140  globus_net_manager_attr_t **attr_array_out);
141 
144  globus_net_manager_context_t context,
145  const char *task_id,
146  const char *transport,
147  const char *local_contact,
148  const char *remote_contact,
149  const globus_net_manager_attr_t *attr_array);
150 
153  globus_net_manager_context_t context,
154  const char *task_id,
155  const char *transport,
156  const char *local_contact,
157  const char *remote_contact,
158  const globus_net_manager_attr_t *attr_array);
159 
160 
161 typedef struct globus_i_net_manager_context_s
162 {
163  globus_list_t * managers;
164 } globus_i_net_manager_context_t;
165 
166 typedef struct globus_i_net_manager_context_entry_s
167 {
168  char * name;
169  char * dll_name;
170  globus_extension_handle_t ext_handle;
171  globus_net_manager_t * manager;
173 } globus_i_net_manager_context_entry_t;
174 
175 #ifdef __cplusplus
176 }
177 #endif
178 
179 #endif /* #define GLOBUS_NET_MANAGER_CONTEXT_H */
globus_result_t globus_net_manager_context_pre_close(globus_net_manager_context_t context, const char *task_id, const char *transport, const char *local_contact, const char *remote_contact, const globus_net_manager_attr_t *attr_array)
Call Context Pre Close.
Definition: pre_close.c:53
Net Manager Definition.
Definition: globus_net_manager.h:587
globus_result_t globus_net_manager_context_pre_connect(globus_net_manager_context_t context, const char *task_id, const char *transport, const char *remote_contact, const globus_net_manager_attr_t *attr_array, char **remote_contact_out, globus_net_manager_attr_t **attr_array_out)
Call Context Pre Connect.
Definition: pre_connect.c:56
globus_result_t globus_net_manager_context_post_close(globus_net_manager_context_t context, const char *task_id, const char *transport, const char *local_contact, const char *remote_contact, const globus_net_manager_attr_t *attr_array)
Call Context Post Close.
Definition: post_close.c:51
void globus_net_manager_context_destroy(globus_net_manager_context_t context)
Destroy Context.
Definition: destroy.c:34
globus_result_t globus_net_manager_context_pre_accept(globus_net_manager_context_t context, const char *task_id, const char *transport, const char *local_contact, const globus_net_manager_attr_t *attr_array, globus_net_manager_attr_t **attr_array_out)
Call Context Pre Accept.
Definition: pre_accept.c:53
List data type.
Definition: globus_list.h:44
globus_result_t globus_net_manager_context_end_listen(globus_net_manager_context_t context, const char *task_id, const char *transport, const char *local_contact, const globus_net_manager_attr_t *attr_array)
Call Context End Listen.
Definition: end_listen.c:50
globus_result_t globus_net_manager_context_post_listen(globus_net_manager_context_t context, const char *task_id, const char *transport, const char *local_contact, const globus_net_manager_attr_t *attr_array, char **local_contact_out, globus_net_manager_attr_t **attr_array_out)
Call Context Post Listen.
Definition: post_listen.c:56
Net Manager Attributes.
Definition: globus_net_manager_attr.h:46
struct globus_i_net_manager_context_s * globus_net_manager_context_t
Net Manager Context.
Definition: globus_net_manager_context.h:66
Headers common to all of Globus.
uint32_t globus_result_t
Definition: globus_types.h:99
globus_result_t globus_net_manager_context_init(globus_net_manager_context_t *context, const globus_net_manager_attr_t *attrs)
Initialize Context.
Definition: init.c:124
globus_result_t globus_net_manager_context_post_accept(globus_net_manager_context_t context, const char *task_id, const char *transport, const char *local_contact, const char *remote_contact, const globus_net_manager_attr_t *attr_array, globus_net_manager_attr_t **attr_array_out)
Call Context Post Accept.
Definition: post_accept.c:58
globus_result_t globus_net_manager_context_post_connect(globus_net_manager_context_t context, const char *task_id, const char *transport, const char *local_contact, const char *remote_contact, const globus_net_manager_attr_t *attr_array, globus_net_manager_attr_t **attr_array_out)
Call Context Post Connect.
Definition: post_connect.c:56
Globus Network Manager Attributes.
Globus Net Manager Interface.
globus_result_t globus_net_manager_context_pre_listen(globus_net_manager_context_t context, const char *task_id, const char *transport, const globus_net_manager_attr_t *attr_array, globus_net_manager_attr_t **attr_array_out)
Call Context Pre Listen.
Definition: pre_listen.c:50