builtins/udp/globus_xio_udp_driver.h

Go to the documentation of this file.
00001 /*
00002  * Copyright 1999-2006 University of Chicago
00003  * 
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  * 
00008  * http://www.apache.org/licenses/LICENSE-2.0
00009  * 
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 
00017 #ifndef GLOBUS_XIO_UDP_DRIVER_H
00018 #define GLOBUS_XIO_UDP_DRIVER_H
00019 
00024 #include "globus_xio_system.h"
00025 
00153 #define GLOBUS_XIO_UDP_INVALID_HANDLE GLOBUS_XIO_SYSTEM_INVALID_SOCKET
00154 
00159 typedef enum
00160 {
00165     GLOBUS_XIO_UDP_ERROR_NO_ADDRS,
00170     GLOBUS_XIO_UDP_ERROR_SHORT_WRITE
00171 } globus_xio_udp_error_type_t;
00172 
00186 typedef enum
00187 {
00196     /* globus_xio_system_socket_t       handle */
00197     GLOBUS_XIO_UDP_SET_HANDLE,
00198     
00208     /* const char *                     service_name */
00209     GLOBUS_XIO_UDP_SET_SERVICE,
00210     
00220     /* char **                          service_name_out */
00221     GLOBUS_XIO_UDP_GET_SERVICE,
00222     
00233     /* int                              listener_port */
00234     GLOBUS_XIO_UDP_SET_PORT,
00235     
00243     /* int *                            listener_port_out */
00244     GLOBUS_XIO_UDP_GET_PORT,
00245     
00262     /* int                              listener_min_port,
00263      * int                              listener_max_port */
00264     GLOBUS_XIO_UDP_SET_LISTEN_RANGE,
00265     
00276     /* int *                            listener_min_port_out,
00277      * int *                            listener_max_port_out */
00278     GLOBUS_XIO_UDP_GET_LISTEN_RANGE,
00279     
00287     /* const char *                     interface */
00288     GLOBUS_XIO_UDP_SET_INTERFACE,
00289     
00299     /* char **                          interface_out */
00300     GLOBUS_XIO_UDP_GET_INTERFACE,
00301     
00313     /* globus_bool_t                    restrict_port */
00314     GLOBUS_XIO_UDP_SET_RESTRICT_PORT,
00315     
00323     /* globus_bool_t *                  restrict_port_out */
00324     GLOBUS_XIO_UDP_GET_RESTRICT_PORT,
00325     
00335     /* globus_bool_t                    resuseaddr */
00336     GLOBUS_XIO_UDP_SET_REUSEADDR,
00337     
00345     /* globus_bool_t *                  resuseaddr_out */
00346     GLOBUS_XIO_UDP_GET_REUSEADDR,
00347     
00357     /* globus_bool_t                    no_ipv6 */
00358     GLOBUS_XIO_UDP_SET_NO_IPV6,
00359     
00367     /* globus_bool_t *                  no_ipv6_out */
00368     GLOBUS_XIO_UDP_GET_NO_IPV6,
00369     
00378     /* globus_xio_system_socket_t *     handle_out */
00379     GLOBUS_XIO_UDP_GET_HANDLE,
00380     
00389     /* int                              sndbuf */
00390     GLOBUS_XIO_UDP_SET_SNDBUF,
00391     
00399     /* int *                            sndbuf_out */
00400     GLOBUS_XIO_UDP_GET_SNDBUF,
00401     
00410     /* int                              rcvbuf */
00411     GLOBUS_XIO_UDP_SET_RCVBUF,
00412     
00420     /* int *                            rcvbuf_out */
00421     GLOBUS_XIO_UDP_GET_RCVBUF,
00422     
00438     /* char **                          contact_string_out */
00439     GLOBUS_XIO_UDP_GET_CONTACT,
00440     
00456     /* char **                          contact_string_out */
00457     GLOBUS_XIO_UDP_GET_NUMERIC_CONTACT,
00458     
00472     /* char *                           contact_string */
00473     GLOBUS_XIO_UDP_SET_CONTACT,
00474     
00486     /* char *                           contact_string */
00487     GLOBUS_XIO_UDP_CONNECT,
00488     
00506     /* char *                           contact_string */
00507     GLOBUS_XIO_UDP_SET_MULTICAST
00508 
00509 } globus_xio_udp_cmd_t;
00510 
00511 #endif

Generated on 2 May 2016 for globus_xio by  doxygen 1.4.7