Grid Community Toolkit  6.2.1653033972 (tag: v6.2.20220524)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
globus_xio_test_transport.h
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_TEST_TRANSPORT_H
18 #define GLOBUS_XIO_TEST_TRANSPORT_H 1
19 
20 #include "globus_common.h"
21 
22 typedef enum globus_xio_test_failure_e
23 {
24  GLOBUS_XIO_TEST_FAIL_NONE,
25  GLOBUS_XIO_TEST_FAIL_PASS_OPEN,
26  GLOBUS_XIO_TEST_FAIL_FINISH_OPEN,
27  GLOBUS_XIO_TEST_FAIL_PASS_CLOSE,
28  GLOBUS_XIO_TEST_FAIL_FINISH_CLOSE,
29  GLOBUS_XIO_TEST_FAIL_PASS_READ,
30  GLOBUS_XIO_TEST_FAIL_FINISH_READ,
31  GLOBUS_XIO_TEST_FAIL_PASS_WRITE,
32  GLOBUS_XIO_TEST_FAIL_FINISH_WRITE,
33  GLOBUS_XIO_TEST_FAIL_PASS_ACCEPT,
34  GLOBUS_XIO_TEST_FAIL_FINISH_ACCEPT
35 } globus_xio_test_failure_t;
36 
37 enum
38 {
39  GLOBUS_XIO_TEST_SET_INLINE,
40  GLOBUS_XIO_TEST_SET_FAILURES,
41  GLOBUS_XIO_TEST_SET_USECS,
42  GLOBUS_XIO_TEST_READ_EOF_BYTES,
43  GLOBUS_XIO_TEST_CHUNK_SIZE,
44  GLOBUS_XIO_TEST_RANDOM
45 };
46 
47 #endif
Headers common to all of Globus.