Grid Community Toolkit  6.2.1607800521 (tag: v6.2.20201212)
globus_xio_http.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 #if !defined GLOBUS_XIO_DRIVER_HTTP_H
18 #define GLOBUS_XIO_DRIVER_HTTP_H 1
19 
24 #include "globus_xio.h"
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
135 typedef struct
136 {
138  char * name;
140  char * value;
141 }
143 
148 typedef enum
149 {
188  /* const char * header_name,
189  const char * header_value */
207  /* int status */
225  /* const char * reason */
245  /* globus_xio_http_version_t version */
262  GLOBUS_XIO_HTTP_HANDLE_SET_REQUEST_HEADER
263 }
265 
270 typedef enum
271 {
290  /* const char * method */
308  /* globus_xio_http_version_t version */
346  /* const char * header_name,
347  * const char * header_value */
383  /* char ** method,
384  char ** uri,
385  globus_xio_http_version_t * http_version,
386  globus_hashtable_t * headers */
413  /* int * status_code,
414  char ** reason_phrase,
415  globus_xio_http_version_t * http_version,
416  globus_hashtable_t * headers */
418 
419 }
421 
426 typedef enum
427 {
450 }
452 
459 typedef enum
460 {
461  GLOBUS_XIO_HTTP_VERSION_UNSET,
470 }
472 
473 #ifdef __cplusplus
474 }
475 #endif
476 
477 #endif
Definition: globus_xio_http.h:241
Definition: globus_xio_http.h:209
Definition: globus_xio_http.h:180
globus_xio_http_errors_t
Definition: globus_xio_http.h:198
Definition: globus_xio_http.h:213
Definition: globus_xio_http.h:205
globus_xio_http_handle_cmd_t
Definition: globus_xio_http.h:145
Definition: globus_xio_http.h:158
Definition: globus_xio_http.h:155
Definition: globus_xio_http.h:177
Definition: globus_xio_http.h:237
HTTP Header.
Definition: globus_xio_http.h:132
Definition: globus_xio_http.h:149
Definition: globus_xio_http.h:152
Definition: globus_xio_http.h:186
Definition: globus_xio_http.h:189
Definition: globus_xio_http.h:161
Definition: globus_xio_http.h:217
globus_xio_http_version_t
Definition: globus_xio_http.h:231
globus_xio_http_attr_cmd_t
Definition: globus_xio_http.h:170
Definition: globus_xio_http.h:174
Definition: globus_xio_http.h:183