aboutsummaryrefslogtreecommitdiffstats
path: root/src/actions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions.h')
-rw-r--r--src/actions.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/actions.h b/src/actions.h
index e7e5636..20677dd 100644
--- a/src/actions.h
+++ b/src/actions.h
@@ -28,4 +28,19 @@ CK_ACTIONS
CK_ACTIONS
#undef X
+typedef enum AddOptErrors AddOptErr;
+enum AddOptErrors {
+ ADD_NO_ERR = 0,
+ ADD_ERR_WRONG_CONFIG,
+ ADD_ERR_WRONG_FLAGS
+};
+
+typedef struct AddOptions AddOpt;
+struct AddOptions {
+ char *progName;
+ char *confPath;
+ int secret;
+ int prime;
+ AddOptErr err;
+};
#endif /* ACTIONS_H */