aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorepoch <epoch@hack.thebackupbox.net>2020-01-09 11:16:03 +0000
committerepoch <epoch@hack.thebackupbox.net>2020-01-09 11:16:03 +0000
commit4581a3fca22ee6099fac5c0d8d24286296f6ed1d (patch)
tree1924d5b744b0eb0f971649fc8f4c511053d137ad
parent7ea02bef51ee8b4e6856c4376f48a8a8f5eb6e18 (diff)
downloadlibidc-4581a3fca22ee6099fac5c0d8d24286296f6ed1d.tar.gz
libidc-4581a3fca22ee6099fac5c0d8d24286296f6ed1d.zip
added eof flag for file descriptors
-rw-r--r--idc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/idc.h b/idc.h
index 518a3f5..68484c4 100644
--- a/idc.h
+++ b/idc.h
@@ -21,6 +21,7 @@ struct shit {
char read_lines_for_us;
char keep_open;
+ char eof;
//other stuffs?
// union {
void (*line_handler)(struct shit *me,char *line);//function pointer to the handler. ???