From 54ae271dfc5f8405233ed320b2e9bd821ee8210f Mon Sep 17 00:00:00 2001 From: gramanas Date: Fri, 16 Nov 2018 14:43:19 +0200 Subject: Code restructure/simplification, restore regression test --- src/ckutil.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/ckutil.h') diff --git a/src/ckutil.h b/src/ckutil.h index d29b302..60d715f 100644 --- a/src/ckutil.h +++ b/src/ckutil.h @@ -49,11 +49,11 @@ /* Create the config name to be used when storing a new config to * the VC or SCRT dir */ void str_make_ck_config_name(char *ret, const char *path, - const char *progName); + const char *progName); /* Joins the two strings into ret, with a '/' in between */ void str_join_dirname_with_basename(char *ret, const char *path, - const char *progName); + const char *progName); /* Returns 1 if str contains only whitespace, or nothing, * else returns 0. */ @@ -99,4 +99,6 @@ int util_is_link_owned_by_root(const char *link); /* yes is 1, no is 0 */ int y_or_n_prompt(); + +void decorate_entry(char *entry, int secret, int primary, const char *path); #endif // CKUTIL_H -- cgit v1.2.3