summaryrefslogtreecommitdiffstats
path: root/src/d_define.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/d_define.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/src/d_define.h b/src/d_define.h
index 9042037..e094df1 100644
--- a/src/d_define.h
+++ b/src/d_define.h
@@ -68,4 +68,66 @@
#define FT_MINISHELLRC ".minishellrc"
#define FT_DEFAULT_HISTFILE ".minishell_history"
+/*
+** ====== SQB OPTIONS ======
+*/
+
+#define FT_SQB_B "-b"
+#define FT_SQB_C "-c"
+#define FT_SQB_D "-d"
+#define FT_SQB_E "-e"
+#define FT_SQB_F "-f"
+#define FT_SQB_G "-g"
+#define FT_SQB_H "-h"
+#define FT_SQB_K "-k"
+#define FT_SQB_N "-n"
+#define FT_SQB_S "-s"
+#define FT_SQB_U "-u"
+#define FT_SQB_W "-w"
+#define FT_SQB_X "-x"
+#define FT_SQB_Z "-z"
+#define FT_SQB_L_MAJ "-L"
+#define FT_SQB_S_MAJ "-b"
+#define FT_SQB_NT "-nt"
+#define FT_SQB_OT "-ot"
+#define FT_SQB_EQUALS "="
+#define FT_SQB_DIFF "!="
+#define FT_SQB_EQ "-eq"
+#define FT_SQB_NE "-ne"
+#define FT_SQB_GT "-gt"
+#define FT_SQB_GE "-ge"
+#define FT_SQB_LT "-lt"
+#define FT_SQB_LE "-le"
+
+enum
+{
+ FT_ID_SQB_B,
+ FT_ID_SQB_C,
+ FT_ID_SQB_D,
+ FT_ID_SQB_E,
+ FT_ID_SQB_F,
+ FT_ID_SQB_G,
+ FT_ID_SQB_H,
+ FT_ID_SQB_K,
+ FT_ID_SQB_N,
+ FT_ID_SQB_S,
+ FT_ID_SQB_U,
+ FT_ID_SQB_W,
+ FT_ID_SQB_X,
+ FT_ID_SQB_Z,
+ FT_ID_SQB_L_MAJ,
+ FT_ID_SQB_S_MAJ,
+ FT_ID_SQB_NT,
+ FT_ID_SQB_OT,
+ FT_ID_SQB_EQUALS,
+ FT_ID_SQB_DIFF,
+ FT_ID_SQB_EQ,
+ FT_ID_SQB_NE,
+ FT_ID_SQB_GT,
+ FT_ID_SQB_GE,
+ FT_ID_SQB_LT,
+ FT_ID_SQB_LE,
+ FT_ID_SQB_COUNT
+};
+
#endif