diff options
Diffstat (limited to 'src/util/child_common.h')
-rw-r--r-- | src/util/child_common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/util/child_common.h b/src/util/child_common.h index 95865bb52..261da7f9c 100644 --- a/src/util/child_common.h +++ b/src/util/child_common.h @@ -45,6 +45,11 @@ struct io_buffer { size_t size; }; +struct child_io_fds { + int read_from_child_fd; + int write_to_child_fd; +}; + /* COMMON SIGCHLD HANDLING */ typedef void (*sss_child_fn_t)(int pid, int wait_status, void *pvt); @@ -113,4 +118,6 @@ errno_t exec_child(TALLOC_CTX *mem_ctx, void child_cleanup(int readfd, int writefd); +int child_io_destructor(void *ptr); + #endif /* __CHILD_COMMON_H__ */ |