aboutsummaryrefslogtreecommitdiffstats
path: root/src/actionparser.h
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-05-08 16:44:05 +0300
committergramanas <anastasis.gramm2@gmail.com>2018-05-08 16:44:05 +0300
commitfb7e3e1352aeca03909ae3720c8cae90fcd57186 (patch)
tree73ec2c99e3a8c578c1791e83a5ec74749a8316af /src/actionparser.h
parent00faacfa1ba2af7dd6dbd441e0ede57029d92686 (diff)
downloadck-fb7e3e1352aeca03909ae3720c8cae90fcd57186.tar.gz
ck-fb7e3e1352aeca03909ae3720c8cae90fcd57186.tar.bz2
ck-fb7e3e1352aeca03909ae3720c8cae90fcd57186.zip
user args an now cklist type
Diffstat (limited to 'src/actionparser.h')
-rw-r--r--src/actionparser.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/actionparser.h b/src/actionparser.h
index 1c4e539..01f32a5 100644
--- a/src/actionparser.h
+++ b/src/actionparser.h
@@ -22,6 +22,8 @@
#ifndef ACTIONPARSER_H
#define ACTIONPARSER_H
+#include "cklist.h"
+
#define CK_ACTIONS \
X(INIT) \
X(ADD) \
@@ -62,8 +64,7 @@ struct UserOptions {
ParseError err;
CkAction action;
char *confDir;
- int argc;
- char *argv[10]; // action's options
+ cklist *args;
};