17 #if !defined(GLOBUS_XIO_H)
21 #include "globus_xio_types.h"
22 #include "globus_xio_util.h"
23 #include "globus_xio_load.h"
29 #ifndef GLOBUS_GLOBAL_DOCUMENT_SET
230 globus_xio_attr_t * attr);
260 globus_xio_attr_t attr,
261 globus_xio_driver_t driver,
272 globus_xio_attr_t * dst,
273 globus_xio_attr_t src);
286 globus_xio_attr_t attr);
299 globus_xio_stack_t * stack,
300 globus_xio_attr_t stack_attr);
312 globus_xio_stack_t stack,
313 globus_xio_driver_t driver);
321 globus_xio_stack_t * dst,
322 globus_xio_stack_t src);
330 globus_xio_stack_t stack);
359 globus_xio_server_t server,
360 globus_xio_handle_t handle,
373 globus_xio_server_t server,
396 globus_xio_server_t * server,
397 globus_xio_attr_t server_attr,
398 globus_xio_stack_t stack);
416 globus_xio_server_t server,
417 char ** contact_string);
428 globus_xio_server_t server,
438 globus_xio_server_t server);
450 globus_xio_server_t server,
451 globus_xio_driver_t driver,
465 globus_xio_handle_t * out_handle,
466 globus_xio_server_t server);
477 globus_xio_server_t server,
491 globus_xio_handle_t * handle,
492 globus_xio_stack_t stack);
523 globus_xio_handle_t handle,
528 (*globus_xio_timeout_server_callback_t)(
529 globus_xio_server_t server,
551 globus_xio_data_descriptor_t * data_desc,
552 globus_xio_handle_t handle);
560 globus_xio_data_descriptor_t data_desc);
572 globus_xio_data_descriptor_t data_desc,
573 globus_xio_driver_t driver,
588 globus_xio_handle_t handle,
602 globus_xio_handle_t handle,
607 globus_xio_data_descriptor_t data_desc,
620 globus_xio_handle_t handle,
622 globus_xio_iovec_t * iovec,
625 globus_xio_data_descriptor_t data_desc,
642 globus_xio_handle_t handle,
643 globus_xio_driver_t driver,
709 globus_xio_handle_t handle,
710 const char * contact_string,
711 globus_xio_attr_t attr,
721 globus_xio_handle_t handle,
722 const char * contact_string,
723 globus_xio_attr_t attr);
731 globus_xio_handle_t handle,
735 globus_xio_data_descriptor_t data_desc,
745 globus_xio_handle_t handle,
750 globus_xio_data_descriptor_t data_desc);
758 globus_xio_handle_t handle,
759 globus_xio_iovec_t * iovec,
762 globus_xio_data_descriptor_t data_desc,
772 globus_xio_handle_t handle,
773 globus_xio_iovec_t * iovec,
777 globus_xio_data_descriptor_t data_desc);
785 globus_xio_handle_t handle,
789 globus_xio_data_descriptor_t data_desc,
799 globus_xio_handle_t handle,
804 globus_xio_data_descriptor_t data_desc);
812 globus_xio_handle_t handle,
813 globus_xio_iovec_t * iovec,
816 globus_xio_data_descriptor_t data_desc,
826 globus_xio_handle_t handle,
827 globus_xio_iovec_t * iovec,
831 globus_xio_data_descriptor_t data_desc);
838 globus_xio_handle_cancel_operations(
839 globus_xio_handle_t handle,
843 globus_xio_server_cancel_accept(
844 globus_xio_server_t server);
868 globus_xio_handle_t handle,
869 globus_xio_attr_t attr,
879 globus_xio_handle_t handle,
880 globus_xio_attr_t attr);
1005 globus_xio_driver_list_ent_t *
1006 globus_xio_driver_list_find_driver(
1008 const char * driver_name);
1011 globus_xio_driver_list_destroy(
1018 globus_xio_stack_t stack,
1019 globus_xio_attr_t attr);
1022 globus_xio_driver_list_from_string(
1023 char * driver_string,
1025 globus_hashtable_t * safe_table);
1028 globus_xio_driver_safe_table_from_string(
1029 char * driver_string,
1030 globus_hashtable_t * safe_table);
1033 globus_xio_driver_list_create_ent(
1034 const char * driver_desc,
1035 globus_xio_driver_t driver_in,
1037 globus_xio_driver_list_ent_t ** ent_out);
1040 #define GLOBUS_XIO_MODULE &globus_i_xio_module
1042 #define _XIOSL(s) globus_common_i18n_get_string( \
1043 GLOBUS_XIO_MODULE, \
1075 globus_xio_handle_t * out_h,
1076 const char * scheme,
1077 globus_xio_attr_t attr,
1078 char * param_string);
globus_result_t globus_xio_writev(globus_xio_handle_t handle, globus_xio_iovec_t *iovec, int iovec_count, globus_size_t waitforbytes, globus_size_t *nbytes, globus_xio_data_descriptor_t data_desc)
Definition: globus_xio_handle.c:3454
globus_result_t globus_xio_server_register_close(globus_xio_server_t server, globus_xio_server_callback_t cb, void *user_arg)
Definition: globus_xio_server.c:1406
globus_result_t globus_xio_attr_copy(globus_xio_attr_t *dst, globus_xio_attr_t src)
Definition: globus_xio_attr.c:557
globus_result_t globus_xio_register_writev(globus_xio_handle_t handle, globus_xio_iovec_t *iovec, int iovec_count, globus_size_t waitforbytes, globus_xio_data_descriptor_t data_desc, globus_xio_iovec_callback_t cb, void *user_arg)
Definition: globus_xio_handle.c:2501
void(* globus_xio_accept_callback_t)(globus_xio_server_t server, globus_xio_handle_t handle, globus_result_t result, void *user_arg)
Definition: globus_xio.h:358
globus_result_t globus_xio_register_open(globus_xio_handle_t handle, const char *contact_string, globus_xio_attr_t attr, globus_xio_callback_t cb, void *user_arg)
Definition: globus_xio_handle.c:2148
globus_result_t globus_xio_stack_push_driver(globus_xio_stack_t stack, globus_xio_driver_t driver)
Definition: globus_xio_attr.c:1005
globus_result_t globus_xio_stack_init(globus_xio_stack_t *stack, globus_xio_attr_t stack_attr)
Definition: globus_xio_attr.c:929
void(* globus_xio_data_callback_t)(globus_xio_handle_t handle, globus_result_t result, globus_byte_t *buffer, globus_size_t len, globus_size_t nbytes, globus_xio_data_descriptor_t data_desc, void *user_arg)
Definition: globus_xio.h:601
int globus_bool_t
Boolean type.
Definition: globus_types.h:93
globus_result_t globus_xio_attr_cntl(attr, driver, GLOBUS_XIO_FILE_SET_MODE, int mode)
globus_result_t globus_xio_data_descriptor_destroy(globus_xio_data_descriptor_t data_desc)
Definition: globus_xio_attr.c:752
globus_bool_t(* globus_xio_timeout_callback_t)(globus_xio_handle_t handle, globus_xio_operation_type_t type, void *user_arg)
Definition: globus_xio.h:522
enum globus_i_xio_op_type_e globus_xio_operation_type_t
void(* globus_xio_callback_t)(globus_xio_handle_t handle, globus_result_t result, void *user_arg)
Definition: globus_xio.h:587
globus_result_t globus_xio_attr_init(globus_xio_attr_t *attr)
Definition: globus_xio_attr.c:38
globus_result_t globus_xio_register_close(globus_xio_handle_t handle, globus_xio_attr_t attr, globus_xio_callback_t cb, void *user_arg)
Definition: globus_xio_handle.c:2583
globus_result_t globus_xio_server_create(globus_xio_server_t *server, globus_xio_attr_t server_attr, globus_xio_stack_t stack)
Definition: globus_xio_server.c:869
globus_result_t globus_xio_server_close(globus_xio_server_t server)
Definition: globus_xio_server.c:1455
globus_result_t globus_xio_handle_create_from_url(globus_xio_handle_t *out_h, const char *scheme, globus_xio_attr_t attr, char *param_string)
Definition: globus_xio_handle.c:3742
globus_result_t globus_xio_server_cntl(server, driver, GLOBUS_XIO_TCP_GET_HANDLE, globus_xio_system_socket_t *handle_out)
List data type.
Definition: globus_list.h:44
globus_result_t globus_xio_read(globus_xio_handle_t handle, globus_byte_t *buffer, globus_size_t buffer_length, globus_size_t waitforbytes, globus_size_t *nbytes, globus_xio_data_descriptor_t data_desc)
Definition: globus_xio_handle.c:3073
globus_result_t globus_xio_data_descriptor_init(globus_xio_data_descriptor_t *data_desc, globus_xio_handle_t handle)
Definition: globus_xio_attr.c:684
globus_result_t globus_xio_server_register_accept(globus_xio_server_t server, globus_xio_accept_callback_t cb, void *user_arg)
Definition: globus_xio_server.c:1135
globus_result_t globus_xio_driver_list_to_stack_attr(globus_list_t *driver_list, globus_xio_stack_t stack, globus_xio_attr_t attr)
Add a list of driver entries to a stack.
Definition: globus_xio_attr.c:181
globus_result_t globus_xio_readv(globus_xio_handle_t handle, globus_xio_iovec_t *iovec, int iovec_count, globus_size_t waitforbytes, globus_size_t *nbytes, globus_xio_data_descriptor_t data_desc)
Definition: globus_xio_handle.c:3198
size_t globus_size_t
Standard size of memory objectThe globus_size_t is the size of a memory object. It is identical to si...
Definition: globus_types.h:48
globus_result_t globus_xio_write(globus_xio_handle_t handle, globus_byte_t *buffer, globus_size_t buffer_length, globus_size_t waitforbytes, globus_size_t *nbytes, globus_xio_data_descriptor_t data_desc)
Definition: globus_xio_handle.c:3329
globus_result_t globus_xio_server_get_contact_string(globus_xio_server_t server, char **contact_string)
Definition: globus_xio_server.c:1021
unsigned char globus_byte_t
Unsigned byte datatypeThis is used for byte-addressable arrays of arbitrary data which is not subject...
Definition: globus_types.h:85
globus_result_t globus_xio_server_accept(globus_xio_handle_t *out_handle, globus_xio_server_t server)
Definition: globus_xio_server.c:1250
globus_result_t globus_xio_open(globus_xio_handle_t handle, const char *contact_string, globus_xio_attr_t attr)
Definition: globus_xio_handle.c:2934
globus_result_t globus_xio_register_readv(globus_xio_handle_t handle, globus_xio_iovec_t *iovec, int iovec_count, globus_size_t waitforbytes, globus_xio_data_descriptor_t data_desc, globus_xio_iovec_callback_t cb, void *user_arg)
Definition: globus_xio_handle.c:2341
globus_result_t globus_xio_register_read(globus_xio_handle_t handle, globus_byte_t *buffer, globus_size_t buffer_length, globus_size_t waitforbytes, globus_xio_data_descriptor_t data_desc, globus_xio_data_callback_t cb, void *user_arg)
Definition: globus_xio_handle.c:2264
Headers common to all of Globus.
uint32_t globus_result_t
Definition: globus_types.h:99
void(* globus_xio_server_callback_t)(globus_xio_server_t server, void *user_arg)
Definition: globus_xio.h:372
globus_result_t globus_xio_data_descriptor_cntl(dd, driver, GLOBUS_XIO_HTTP_GET_REQUEST, char **method, char **uri, globus_xio_http_version_t *http_version, globus_hashtable_t *headers)
globus_result_t globus_xio_handle_cntl(handle, driver, GLOBUS_XIO_FILE_GET_HANDLE, globus_xio_system_file_t *handle_out)
globus_result_t globus_xio_close(globus_xio_handle_t handle, globus_xio_attr_t attr)
Definition: globus_xio_handle.c:3582
void(* globus_xio_iovec_callback_t)(globus_xio_handle_t handle, globus_result_t result, globus_xio_iovec_t *iovec, int count, globus_size_t nbytes, globus_xio_data_descriptor_t data_desc, void *user_arg)
Definition: globus_xio.h:619
globus_result_t globus_xio_handle_create(globus_xio_handle_t *handle, globus_xio_stack_t stack)
Definition: globus_xio_handle.c:2058
globus_result_t globus_xio_register_write(globus_xio_handle_t handle, globus_byte_t *buffer, globus_size_t buffer_length, globus_size_t waitforbytes, globus_xio_data_descriptor_t data_desc, globus_xio_data_callback_t cb, void *user_arg)
Definition: globus_xio_handle.c:2421
globus_result_t globus_xio_stack_destroy(globus_xio_stack_t stack)
Definition: globus_xio_attr.c:1078
globus_result_t globus_xio_attr_destroy(globus_xio_attr_t attr)
Definition: globus_xio_attr.c:478
globus_result_t globus_xio_stack_copy(globus_xio_stack_t *dst, globus_xio_stack_t src)
Definition: globus_xio_attr.c:955
Module Descriptor.
Definition: globus_module.h:71