From 0a5257ea63cce0cebc93eb71e51dbbb3eb14a9a3 Mon Sep 17 00:00:00 2001 From: gramanas Date: Sun, 22 Apr 2018 21:30:31 +0300 Subject: Add read, the actual linking remains --- src/actions.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/actions.h') 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 */ -- cgit v1.2.3