aboutsummaryrefslogtreecommitdiffstats
path: root/src/actions.h
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-09-27 16:54:43 +0300
committergramanas <anastasis.gramm2@gmail.com>2018-09-27 16:54:43 +0300
commit65986f9cd9429c7876e5d2f09e4a0cd19d966fa3 (patch)
treea77f12361571bd6c89ccd478db3dba2866719df3 /src/actions.h
parent03917439a1ddcf202e9fc53937b10eeb7ec0a99a (diff)
downloadck-65986f9cd9429c7876e5d2f09e4a0cd19d966fa3.tar.gz
ck-65986f9cd9429c7876e5d2f09e4a0cd19d966fa3.tar.bz2
ck-65986f9cd9429c7876e5d2f09e4a0cd19d966fa3.zip
Add dummy delete
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 5e32164..0ca7838 100644
--- a/src/actions.h
+++ b/src/actions.h
@@ -40,6 +40,21 @@ struct AddOptions {
AddOptErr err;
};
+typedef enum DelErrors DelErr;
+enum DelErrors {
+ DEL_NO_ERR = 0,
+ DEL_ERR_WRONG_PATH,
+ DEL_ERR_WRONG_ARGS
+};
+
+typedef struct DelOptions DelOpt;
+struct DelOptions {
+ char *prog;
+ char path[STR_L];
+ int isConf;
+ DelErr err;
+};
+
typedef enum ListTypes ListType;
enum ListTypes {
LT_PATH,