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 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,