#ifndef MY_H_ # define MY_H_ #include #include #include #include #include #include # define SIZE_BUFFER 150 typedef struct s_chars { char *cmd; char *buff; char **opt; char *remain; char **env; } t_chars; char *get_next_line(const int); void my_putchar(char); void my_putstr(char *); char **my_str_to_wordtab(char *, char, int); char *my_strncmp(char *, char *, int); char my_strlen(char *); char *my_strcpy(char *, char *); void free_chain(t_chars *); char **create_doublechar(int); char *create_char(int); void rm_useless_spaces(char *); char **add_cmdname(t_chars *); void rm_end_space(char *); int sep_options(t_chars *); int sep_cmd_from_remain(t_chars *); char *my_strncpy(char *, char *, int); char **cpy_opts(char *, char); char *my_strcpy_from_n(char *, char *, int); int my_access(char *, t_chars *); int my_concat(char **, t_chars *); int my_fork(char *, t_chars *); char *my_strcat(char *, char *); int my_paths(t_chars *); int free_dchar(char **); void my_strlenmod(char *, int *); int launch_builts(t_chars *); #endif /* MY_H_ */