summaryrefslogtreecommitdiffstats
path: root/src/u_vars.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-04 15:52:47 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-04 15:52:47 +0200
commit5cb3373a2e5a5109a5d3b72ef45978b98f885706 (patch)
tree11a0a6f467da3ddf227d2eaf6824c4509242025e /src/u_vars.h
parentok nice (diff)
parent$? fix (diff)
download42-minishell-5cb3373a2e5a5109a5d3b72ef45978b98f885706.tar.gz
42-minishell-5cb3373a2e5a5109a5d3b72ef45978b98f885706.tar.bz2
42-minishell-5cb3373a2e5a5109a5d3b72ef45978b98f885706.tar.xz
42-minishell-5cb3373a2e5a5109a5d3b72ef45978b98f885706.tar.zst
42-minishell-5cb3373a2e5a5109a5d3b72ef45978b98f885706.zip
Merge branch 'master' into fix-pwd
Diffstat (limited to '')
-rw-r--r--src/u_vars.h (renamed from src/ft_b_echo.h)13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/ft_b_echo.h b/src/u_vars.h
index 7fd7463..0d83b4b 100644
--- a/src/ft_b_echo.h
+++ b/src/u_vars.h
@@ -1,7 +1,7 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
-/* ft_b_echo.h :+: :+: :+: */
+/* u_vars.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
@@ -10,13 +10,12 @@
/* */
/* ************************************************************************** */
-#ifndef FT_B_ECHO_H
-#define FT_B_ECHO_H
+#ifndef U_VARS_H
+#define U_VARS_H
-#include <stdint.h>
-#include "ft_s_struct.h"
+#include "s_struct.h"
-uint8_t ft_b_echo(char *args[],
- t_msh *msh);
+char *u_get_cstm_vr(const char varname[], t_msh *msh);
+char *u_get_var_value(const char varname[], t_msh *msh);
#endif