Grid Community Toolkit  6.2.1653033972 (tag: v6.2.20220524)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
globus_xio_popen_driver.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 #ifndef GLOBUS_XIO_POPEN_DRIVER_INCLUDE
18 #define GLOBUS_XIO_POPEN_DRIVER_INCLUDE
19 #include "globus_xio_system.h"
20 
21 typedef void
22 (*globus_xio_popen_preexec_func_t)(
23  globus_xio_handle_t handle,
24  void * user_arg);
25 
26 typedef enum
27 {
28  GLOBUS_XIO_POPEN_SET_PROGRAM,
29  GLOBUS_XIO_POPEN_SET_PASS_ENV,
30  GLOBUS_XIO_POPEN_SET_PREEXEC_FUNC,
31  GLOBUS_XIO_POPEN_SET_BLOCKING_IO,
32  GLOBUS_XIO_POPEN_SET_CHILD_ENV,
33  GLOBUS_XIO_POPEN_SET_IGNORE_ERRORS
34 } globus_xio_popen_attr_cmd_t;
35 
36 #endif