summaryrefslogtreecommitdiffstats
path: root/src/s_struct.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s_struct.h')
-rw-r--r--src/s_struct.h22
1 files changed, 15 insertions, 7 deletions
diff --git a/src/s_struct.h b/src/s_struct.h
index 31c80fc..b45af9f 100644
--- a/src/s_struct.h
+++ b/src/s_struct.h
@@ -18,6 +18,20 @@
#include "d_define.h"
+typedef struct s_lalias
+{
+ char *name;
+ char *value;
+ struct s_lalias *next;
+} t_lalias;
+
+typedef struct s_lvars
+{
+ struct s_lvars *next;
+ char *name;
+ char *val;
+} t_lvars;
+
/*
** redir(int8_t) index
** -------------------
@@ -27,13 +41,6 @@
** 0: means no redirection
*/
-typedef struct s_lvars
-{
- struct s_lvars *next;
- char *name;
- char *val;
-} t_lvars;
-
typedef struct s_com
{
char **argv;
@@ -71,6 +78,7 @@ typedef struct s_msh
struct s_com *com;
struct s_lpipes *pipes;
struct s_lvars *vars;
+ struct s_lalias *alias;
char **envp;
char **bu_ref;
char ps[4][1024];