🔨」 fix(env_cmd): fixed strcmp and env cmds

This commit is contained in:
y-syo
2024-06-10 17:03:14 +02:00
parent 815689e72f
commit 0266cee5cb
4 changed files with 48 additions and 30 deletions

View File

@ -6,7 +6,7 @@
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/29 13:20:22 by mmoussou #+# #+# */
/* Updated: 2024/05/30 15:42:38 by mmoussou ### ########.fr */
/* Updated: 2024/06/10 16:40:52 by mmoussou ### ########.fr */
/* */
/* ************************************************************************** */
@ -30,15 +30,6 @@ typedef struct s_env
*/
int env_init(char **env_d, t_env *env);
/**
* @brief DEBUG FUNC : print the actual state of the env struct
*
* @param env the env struct that will be printed
*
* @return (void)
*/
void env_print(t_env *env);
/**
* @brief get value of an env
*
@ -99,4 +90,13 @@ t_env *ft_envlast(t_env *env);
t_env *ft_envnew(char *name, char *content);
uint ft_envsize(t_env *lst);
/**
* @brief DEBUG FUNC : print the actual state of the env struct
*
* @param env the env struct that will be printed
*
* @return (void)
*/
void ft_envprint(t_env *env);
#endif