From 673627581f42bb32f20a356dd190a0abd38d1962 Mon Sep 17 00:00:00 2001 From: gramanas Date: Fri, 12 Oct 2018 16:50:47 +0300 Subject: More errlog integration --- src/actionhelper.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/actionhelper.h') diff --git a/src/actionhelper.h b/src/actionhelper.h index f046ec9..2db4eeb 100644 --- a/src/actionhelper.h +++ b/src/actionhelper.h @@ -17,6 +17,7 @@ #include "actions.h" #include "ckutil.h" #include "cklist.h" +#include "dblayer.h" /*******/ /* ADD */ @@ -38,14 +39,7 @@ extern DelOpt del_make_options(cklist *args); /********/ /* EDIT */ /********/ -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(cklist* args, char *ret); +extern void edit_print_suggested_configs(DB *db, const char *pName); /********/ /* LIST */ -- cgit v1.2.3