summaryrefslogtreecommitdiffstats
path: root/src/s_init.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-30 18:46:03 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-30 18:46:03 +0200
commit5eb753276ff9052d3ef93fd2b931a9bfb482590c (patch)
treee0dcc220be90eff1224b9ee1ee706253cb63ef2f /src/s_init.c
parentNames update (diff)
download42-minishell-5eb753276ff9052d3ef93fd2b931a9bfb482590c.tar.gz
42-minishell-5eb753276ff9052d3ef93fd2b931a9bfb482590c.tar.bz2
42-minishell-5eb753276ff9052d3ef93fd2b931a9bfb482590c.tar.xz
42-minishell-5eb753276ff9052d3ef93fd2b931a9bfb482590c.tar.zst
42-minishell-5eb753276ff9052d3ef93fd2b931a9bfb482590c.zip
Renamed quite some stuff
Diffstat (limited to 'src/s_init.c')
-rw-r--r--src/s_init.c50
1 files changed, 25 insertions, 25 deletions
diff --git a/src/s_init.c b/src/s_init.c
index aff245f..1ce73dd 100644
--- a/src/s_init.c
+++ b/src/s_init.c
@@ -29,40 +29,40 @@
static void
s_init_sqb_ref_one(t_msh *msh)
{
- ft_memcpy(msh->sqb_ref[FT_ID_SQB_B], B_SQB_B, ft_strlen(B_SQB_B) + 1);
- ft_memcpy(msh->sqb_ref[FT_ID_SQB_C], B_SQB_C, ft_strlen(B_SQB_C) + 1);
- ft_memcpy(msh->sqb_ref[FT_ID_SQB_D], B_SQB_D, ft_strlen(B_SQB_D) + 1);
- ft_memcpy(msh->sqb_ref[FT_ID_SQB_E], B_SQB_E, ft_strlen(B_SQB_E) + 1);
- ft_memcpy(msh->sqb_ref[FT_ID_SQB_F], B_SQB_F, ft_strlen(B_SQB_F) + 1);
- ft_memcpy(msh->sqb_ref[FT_ID_SQB_H], B_SQB_H, ft_strlen(B_SQB_H) + 1);
- ft_memcpy(msh->sqb_ref[FT_ID_SQB_N], B_SQB_N, ft_strlen(B_SQB_N) + 1);
- ft_memcpy(msh->sqb_ref[FT_ID_SQB_P], B_SQB_P, ft_strlen(B_SQB_P) + 1);
- ft_memcpy(msh->sqb_ref[FT_ID_SQB_R], B_SQB_R, ft_strlen(B_SQB_R) + 1);
- ft_memcpy(msh->sqb_ref[FT_ID_SQB_S], B_SQB_S, ft_strlen(B_SQB_S) + 1);
- ft_memcpy(msh->sqb_ref[FT_ID_SQB_W], B_SQB_W, ft_strlen(B_SQB_W) + 1);
- ft_memcpy(msh->sqb_ref[FT_ID_SQB_X], B_SQB_X, ft_strlen(B_SQB_X) + 1);
- ft_memcpy(msh->sqb_ref[FT_ID_SQB_Z], B_SQB_Z, ft_strlen(B_SQB_Z) + 1);
- ft_memcpy(msh->sqb_ref[FT_ID_SQB_L_MAJ],
+ ft_memcpy(msh->sqb_ref[B_ID_SQB_B], B_SQB_B, ft_strlen(B_SQB_B) + 1);
+ ft_memcpy(msh->sqb_ref[B_ID_SQB_C], B_SQB_C, ft_strlen(B_SQB_C) + 1);
+ ft_memcpy(msh->sqb_ref[B_ID_SQB_D], B_SQB_D, ft_strlen(B_SQB_D) + 1);
+ ft_memcpy(msh->sqb_ref[B_ID_SQB_E], B_SQB_E, ft_strlen(B_SQB_E) + 1);
+ ft_memcpy(msh->sqb_ref[B_ID_SQB_F], B_SQB_F, ft_strlen(B_SQB_F) + 1);
+ ft_memcpy(msh->sqb_ref[B_ID_SQB_H], B_SQB_H, ft_strlen(B_SQB_H) + 1);
+ ft_memcpy(msh->sqb_ref[B_ID_SQB_N], B_SQB_N, ft_strlen(B_SQB_N) + 1);
+ ft_memcpy(msh->sqb_ref[B_ID_SQB_P], B_SQB_P, ft_strlen(B_SQB_P) + 1);
+ ft_memcpy(msh->sqb_ref[B_ID_SQB_R], B_SQB_R, ft_strlen(B_SQB_R) + 1);
+ ft_memcpy(msh->sqb_ref[B_ID_SQB_S], B_SQB_S, ft_strlen(B_SQB_S) + 1);
+ ft_memcpy(msh->sqb_ref[B_ID_SQB_W], B_SQB_W, ft_strlen(B_SQB_W) + 1);
+ ft_memcpy(msh->sqb_ref[B_ID_SQB_X], B_SQB_X, ft_strlen(B_SQB_X) + 1);
+ ft_memcpy(msh->sqb_ref[B_ID_SQB_Z], B_SQB_Z, ft_strlen(B_SQB_Z) + 1);
+ ft_memcpy(msh->sqb_ref[B_ID_SQB_L_MAJ],
B_SQB_L_MAJ, ft_strlen(B_SQB_L_MAJ) + 1);
- ft_memcpy(msh->sqb_ref[FT_ID_SQB_S_MAJ],
+ ft_memcpy(msh->sqb_ref[B_ID_SQB_S_MAJ],
B_SQB_S_MAJ, ft_strlen(B_SQB_S_MAJ) + 1);
- ft_memcpy(msh->sqb_ref[FT_ID_SQB_NT], B_SQB_NT, ft_strlen(B_SQB_NT) + 1);
- ft_memcpy(msh->sqb_ref[FT_ID_SQB_OT], B_SQB_OT, ft_strlen(B_SQB_OT) + 1);
- ft_memcpy(msh->sqb_ref[FT_ID_SQB_EQUA],
+ ft_memcpy(msh->sqb_ref[B_ID_SQB_NT], B_SQB_NT, ft_strlen(B_SQB_NT) + 1);
+ ft_memcpy(msh->sqb_ref[B_ID_SQB_OT], B_SQB_OT, ft_strlen(B_SQB_OT) + 1);
+ ft_memcpy(msh->sqb_ref[B_ID_SQB_EQUA],
B_SQB_EQUA, ft_strlen(B_SQB_EQUA) + 1);
- ft_memcpy(msh->sqb_ref[FT_ID_SQB_DIFF],
+ ft_memcpy(msh->sqb_ref[B_ID_SQB_DIFF],
B_SQB_DIFF, ft_strlen(B_SQB_DIFF) + 1);
}
static void
s_init_sqb_ref_two(t_msh *msh)
{
- ft_memcpy(msh->sqb_ref[FT_ID_SQB_EQ], B_SQB_EQ, ft_strlen(B_SQB_EQ) + 1);
- ft_memcpy(msh->sqb_ref[FT_ID_SQB_NE], B_SQB_NE, ft_strlen(B_SQB_NE) + 1);
- ft_memcpy(msh->sqb_ref[FT_ID_SQB_GT], B_SQB_GT, ft_strlen(B_SQB_GT) + 1);
- ft_memcpy(msh->sqb_ref[FT_ID_SQB_GE], B_SQB_GE, ft_strlen(B_SQB_GE) + 1);
- ft_memcpy(msh->sqb_ref[FT_ID_SQB_LT], B_SQB_LT, ft_strlen(B_SQB_LT) + 1);
- ft_memcpy(msh->sqb_ref[FT_ID_SQB_LE], B_SQB_LE, ft_strlen(B_SQB_LE) + 1);
+ ft_memcpy(msh->sqb_ref[B_ID_SQB_EQ], B_SQB_EQ, ft_strlen(B_SQB_EQ) + 1);
+ ft_memcpy(msh->sqb_ref[B_ID_SQB_NE], B_SQB_NE, ft_strlen(B_SQB_NE) + 1);
+ ft_memcpy(msh->sqb_ref[B_ID_SQB_GT], B_SQB_GT, ft_strlen(B_SQB_GT) + 1);
+ ft_memcpy(msh->sqb_ref[B_ID_SQB_GE], B_SQB_GE, ft_strlen(B_SQB_GE) + 1);
+ ft_memcpy(msh->sqb_ref[B_ID_SQB_LT], B_SQB_LT, ft_strlen(B_SQB_LT) + 1);
+ ft_memcpy(msh->sqb_ref[B_ID_SQB_LE], B_SQB_LE, ft_strlen(B_SQB_LE) + 1);
}
static char