aboutsummaryrefslogtreecommitdiffhomepage
path: root/io.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-03 23:56:35 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-03 23:56:35 -0800
commit27f374a38b74476948497b92f04441c072d4b471 (patch)
tree52726e910d7b6fa8c1614e841dd65c12a95bc15a /io.h
parentbaa813c46f72b44b656cc6db86256f7ec71a6965 (diff)
Some initial work on removing buffer_t from io_data_t
Diffstat (limited to 'io.h')
-rw-r--r--io.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/io.h b/io.h
index ee9e2242..4ef3acc9 100644
--- a/io.h
+++ b/io.h
@@ -38,15 +38,14 @@ struct io_data_t
{
/** file creation flags to send to open for IO_FILE */
int flags;
- /** buffer to save output in for IO_BUFFER */
- buffer_t *out_buffer;
/** Whether to close old_fd for IO_FD */
int close_old;
} param2;
+
+ /** buffer to save output in for IO_BUFFER */
+ buffer_t *out_buffer;
- /**
- Set to true if this is an input io redirection
- */
+ /** Set to true if this is an input io redirection */
int is_input;
/** Pointer to the next IO redirection */