blob: 6f3cf21fa64533378c155b83634de1ec24e4cea9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_s_struct.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/14 17:19:27 by rbousset #+# #+# */
/* Updated: 2020/02/14 17:19:29 by rbousset ### ########lyon.fr */
/* */
/* ************************************************************************** */
#ifndef FT_S_STRUCT_H
#define FT_S_STRUCT_H
#include <stdint.h>
#include "ft_d_define.h"
typedef struct s_lcom
{
char *com;
char **args;
struct s_com *next;
} t_lcom;
typedef struct s_msh
{
char *ps_one;
char **envp;
int32_t ret;
char **bu_ref;
int32_t (*bu_ptr[FT_BUILTINS_COUNT])(struct s_msh*);
struct s_lcom *lcom_head;
struct s_lcom *lcom;
} t_msh;
#endif
|