summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorepoch <epoch@hack.thebackupbox.net>2019-05-26 01:05:29 +0000
committerepoch <epoch@hack.thebackupbox.net>2019-05-26 01:05:29 +0000
commitdc34dad3c228f8b42e2c121809b12b389a73797c (patch)
treea36e4cdf4d6bc3a6b30b9bc53aa917b947ee015c
parentfff6473e8d30977b5ff1602623aa8b8fce7a6ebc (diff)
downloadlibidc-dc34dad3c228f8b42e2c121809b12b389a73797c.tar.gz
libidc-dc34dad3c228f8b42e2c121809b12b389a73797c.zip
added two flags to shit struct
-rw-r--r--idc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/idc.h b/idc.h
index c27848c..e4ec38e 100644
--- a/idc.h
+++ b/idc.h
@@ -15,6 +15,9 @@ struct shit {
char buffer[CHUNK];//THIS IS *NOT* NULL TERMINATED.
char *delim;
+
+ char read_lines_for_us;
+ char keep_open;
//other stuffs?
// union {
void (*line_handler)(struct shit *me,char *line);//function pointer to the handler. ???