aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_unixize.h
diff options
context:
space:
mode:
authorjozan <jozan@noemail.net>2020-11-04 19:38:06 +0000
committerjozan <jozan@noemail.net>2020-11-04 19:38:06 +0000
commitce1e4beee7a7f881363648deb663c00e38078563 (patch)
treecb7af0b3b42b6bef4d0465b9b5b8140bafe49587 /src/c_unixize.h
parentCorrectly parsed options (diff)
downloadunixize-ce1e4beee7a7f881363648deb663c00e38078563.tar.gz
unixize-ce1e4beee7a7f881363648deb663c00e38078563.tar.bz2
unixize-ce1e4beee7a7f881363648deb663c00e38078563.tar.xz
unixize-ce1e4beee7a7f881363648deb663c00e38078563.tar.zst
unixize-ce1e4beee7a7f881363648deb663c00e38078563.zip
Now getting directory files
FossilOrigin-Name: 1875ab7cf0cbb651b8b45271cb5cd5b5c01974caa0128856aa1fd64c26480a7c
Diffstat (limited to '')
-rw-r--r--src/c_unixize.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/c_unixize.h b/src/c_unixize.h
index 77a9ce0..2583af2 100644
--- a/src/c_unixize.h
+++ b/src/c_unixize.h
@@ -46,9 +46,26 @@
#ifndef __C_UNIXIZE_H__
#define __C_UNIXIZE_H__
+#ifdef __linux__
+#include <linux/limits.h>
+#else
+#include <limits.h>
+#endif
+
typedef enum bool_e {
FALSE,
TRUE
} bool_t;
+struct opts_s {
+ bool_t hidden;
+ bool_t hyphen;
+ bool_t pretend;
+ bool_t recursive;
+ bool_t verbose;
+ char dir[PATH_MAX];
+};
+
+void c_init(struct opts_s*);
+
#endif /* ifndef __C_UNIXIZE_H__ */