Initial revision
authorJim Meyering <jim@meyering.net>
Wed, 16 Jun 1993 15:24:57 +0000 (15:24 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 16 Jun 1993 15:24:57 +0000 (15:24 +0000)
src/ls-dir.c [new file with mode: 0644]
src/ls-ls.c [new file with mode: 0644]
src/ls-vdir.c [new file with mode: 0644]
src/ls.h [new file with mode: 0644]

diff --git a/src/ls-dir.c b/src/ls-dir.c
new file mode 100644 (file)
index 0000000..85fe242
--- /dev/null
@@ -0,0 +1,2 @@
+#include "ls.h"
+int ls_mode = LS_MULTI_COL;
diff --git a/src/ls-ls.c b/src/ls-ls.c
new file mode 100644 (file)
index 0000000..f33fbbc
--- /dev/null
@@ -0,0 +1,2 @@
+#include "ls.h"
+int ls_mode = LS_LS;
diff --git a/src/ls-vdir.c b/src/ls-vdir.c
new file mode 100644 (file)
index 0000000..36ebf91
--- /dev/null
@@ -0,0 +1,2 @@
+#include "ls.h"
+int ls_mode = LS_LONG_FORMAT;
diff --git a/src/ls.h b/src/ls.h
new file mode 100644 (file)
index 0000000..028271f
--- /dev/null
+++ b/src/ls.h
@@ -0,0 +1,10 @@
+/* This is for the `ls' program.  */
+#define LS_LS 1
+
+/* This is for the `dir' program.  */
+#define LS_MULTI_COL 2
+
+/* This is for the `vdir' program.  */
+#define LS_LONG_FORMAT 3
+
+extern int ls_mode;