aboutsummaryrefslogtreecommitdiffstats
path: root/src/actionhelper.h
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-05-08 03:32:44 +0300
committergramanas <anastasis.gramm2@gmail.com>2018-05-08 03:32:44 +0300
commit1f30b63db9aeab2332d269939c46c2fd9a0f0f8d (patch)
treea0ec8aae21f42be4716ecb6fa5b685583c01e2cd /src/actionhelper.h
parent3a3424774944a421e1b93cbaf533a3500a4d613c (diff)
downloadck-1f30b63db9aeab2332d269939c46c2fd9a0f0f8d.tar.gz
ck-1f30b63db9aeab2332d269939c46c2fd9a0f0f8d.tar.bz2
ck-1f30b63db9aeab2332d269939c46c2fd9a0f0f8d.zip
Some work on lists
Diffstat (limited to 'src/actionhelper.h')
-rw-r--r--src/actionhelper.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/actionhelper.h b/src/actionhelper.h
new file mode 100644
index 0000000..75ad0a7
--- /dev/null
+++ b/src/actionhelper.h
@@ -0,0 +1,10 @@
+#include "ckutil.h"
+
+typedef enum edit_opt_return_code edit_rc;
+enum edit_opt_return_code {
+ ERC_OK,
+ ERC_SUGGESTIONS,
+ ERC_ERR
+};
+
+extern edit_rc edit_get_config_or_suggestions(const int argc, char **argv, char *ret);