Files
mmoat/includes/exec/expander.h
Loic Deridder a79227453c * expand
2025-02-10 13:38:01 +01:00

28 lines
1.2 KiB
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* expander.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: lderidde <lderidde@student.s19.be> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/02/07 10:21:00 by lderidde #+# #+# */
/* Updated: 2025/02/10 10:40:51 by lderidde ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef EXPANDER_H
# define EXPANDER_H
# include "../minishell.h"
# include <sys/types.h>
# include <dirent.h>
int in_dquote(char *str, char *ch);
int in_squote(char *str, char *ch);
int expand_var(t_ast_n *node, int j);
int expand_tilde(t_ast_n *node, int j);
int expand_star(t_ast_n *node, int j);
t_ast_n *expand_node(t_ast_n *node);
#endif