aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShav Kinderlehrer <[email protected]>2023-04-17 18:40:17 -0400
committerShav Kinderlehrer <[email protected]>2023-04-17 18:40:17 -0400
commitf853dabe7f3585ec856669c6711df08087b65cd8 (patch)
treeb8b89665b23fe807a88810d89805e29ae5ffd946 /include
parentab10a9c2176faa2f339d4e39ace58b811a6c05be (diff)
downloadlat-f853dabe7f3585ec856669c6711df08087b65cd8.tar.gz
lat-f853dabe7f3585ec856669c6711df08087b65cd8.zip
Fix stdin supportv0.7.4
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