From 65986f9cd9429c7876e5d2f09e4a0cd19d966fa3 Mon Sep 17 00:00:00 2001 From: gramanas Date: Thu, 27 Sep 2018 16:54:43 +0300 Subject: Add dummy delete --- 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 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, -- cgit v1.2.3