aboutsummaryrefslogtreecommitdiffstats
path: root/src/actions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions.h')
-rw-r--r--src/actions.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/actions.h b/src/actions.h
index 881fe9d..60b9645 100644
--- a/src/actions.h
+++ b/src/actions.h
@@ -31,7 +31,6 @@ enum AddOptErrors {
};
typedef enum AddOptErrors AddOptErr;
-typedef struct AddOptions AddOpt;
struct AddOptions {
char *progName;
char confPath[STR_L];
@@ -39,6 +38,7 @@ struct AddOptions {
int prime;
AddOptErr err;
};
+typedef struct AddOptions AddOpt;
enum ListTypes {
LT_PATH,
@@ -56,7 +56,6 @@ enum ListShowTypes {
};
typedef enum ListShowTypes ListShowType;
-typedef struct ListOptions ListOpt;
struct ListOptions {
ListType _lt;
ListShowType _lst;
@@ -65,6 +64,17 @@ struct ListOptions {
int bName;
int err;
};
+typedef struct ListOptions ListOpt;
+
+struct EditOptions {
+ char *pName;
+ char *cBasename;
+ char *editor;
+ char *cmd;
+ int sudo;
+ int err;
+};
+typedef struct EditOptions EditOpt;
/**************/
/* PRINT HELP */