summaryrefslogtreecommitdiffstats
path: root/init/init.h
diff options
context:
space:
mode:
Diffstat (limited to 'init/init.h')
-rw-r--r--init/init.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/init/init.h b/init/init.h
index c241912..a7615a3 100644
--- a/init/init.h
+++ b/init/init.h
@@ -29,10 +29,14 @@ struct command
struct listnode clist;
int (*func)(int nargs, char **args);
+
+ int line;
+ const char *filename;
+
int nargs;
char *args[1];
};
-
+
struct action {
/* node in list of all actions */
struct listnode alist;
@@ -43,7 +47,7 @@ struct action {
unsigned hash;
const char *name;
-
+
struct listnode commands;
struct command *current;
};