builtins/ordering/globus_xio_ordering_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_ORDERING_DRIVER_H
00018 #define GLOBUS_XIO_ORDERING_DRIVER_H
00019 
00025 #include "globus_common.h"
00026 
00027 #ifdef __cplusplus
00028 extern "C" {
00029 #endif
00030 
00110 typedef enum
00111 {
00115     GLOBUS_XIO_ORDERING_ERROR_READ,
00119     GLOBUS_XIO_ORDERING_ERROR_CANCEL
00120 
00121 } globus_xio_ordering_error_type_t;
00122 
00123 
00128 typedef enum
00129 {
00138     /* globus_off_t                     offset */
00139     GLOBUS_XIO_ORDERING_SET_OFFSET,
00140 
00149     /* int                              max_read_count */
00150     GLOBUS_XIO_ORDERING_SET_MAX_READ_COUNT,
00151 
00159     /* int *                            max_read_count_out */
00160     GLOBUS_XIO_ORDERING_GET_MAX_READ_COUNT,
00161 
00175     /* globus_bool_t                    buffering */
00176     GLOBUS_XIO_ORDERING_SET_BUFFERING,
00177 
00185     /* globus_bool_t *                  buffering_out */
00186     GLOBUS_XIO_ORDERING_GET_BUFFERING,
00187 
00196     /* int                              buf_size */
00197     GLOBUS_XIO_ORDERING_SET_BUF_SIZE,
00198 
00206     /* int *                            buf_size_out */
00207     GLOBUS_XIO_ORDERING_GET_BUF_SIZE,
00208 
00217     /* int                              max_buf_count */
00218     GLOBUS_XIO_ORDERING_SET_MAX_BUF_COUNT,
00219 
00227     /* int *                            max_buf_count_out */
00228     GLOBUS_XIO_ORDERING_GET_MAX_BUF_COUNT
00229 
00230 } globus_xio_ordering_cmd_t;    
00231 
00232 #ifdef __cplusplus
00233 }
00234 #endif
00235 
00236 #endif /* GLOBUS_XIO_ORDERING_DRIVER_H */

Generated on 2 May 2016 for globus_xio by  doxygen 1.4.7