aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/arg.h3
-rw-r--r--include/file.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/include/arg.h b/include/arg.h
index 1bf23f4..dc2e242 100644
--- a/include/arg.h
+++ b/include/arg.h
@@ -2,9 +2,10 @@
#define ARG_H
#include <stdbool.h>
-#define LAT_VERSION "0.4.0"
+#define LAT_VERSION "0.7.3"
struct config {
+ bool stdin;
bool process;
bool color;
bool lines;
diff --git a/include/file.h b/include/file.h
index 5518d17..8612857 100644
--- a/include/file.h
+++ b/include/file.h
@@ -1,7 +1,8 @@
#ifndef FILE_H
#define FILE_H
+#include <stdbool.h>
#include <stdio.h>
-struct filedata readfile(FILE *fp);
+struct filedata readfile(FILE *fp, bool isstdin);
#endif