diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2018-04-22 21:30:31 +0300 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2018-04-22 21:30:31 +0300 |
commit | 0a5257ea63cce0cebc93eb71e51dbbb3eb14a9a3 (patch) | |
tree | 6cdc4ddeec5727ebb0dd112ef01f8661e2447c0e /src/actions.h | |
parent | 225600aadffc6fdb188fef230cdab67e1242e3a3 (diff) | |
download | ck-0a5257ea63cce0cebc93eb71e51dbbb3eb14a9a3.tar.gz ck-0a5257ea63cce0cebc93eb71e51dbbb3eb14a9a3.tar.bz2 ck-0a5257ea63cce0cebc93eb71e51dbbb3eb14a9a3.zip |
Add read, the actual linking remains
Diffstat (limited to 'src/actions.h')
-rw-r--r-- | src/actions.h | 15 |
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 */ |