aboutsummaryrefslogtreecommitdiffstats
path: root/src/ckutil.h
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-11-16 14:43:19 +0200
committergramanas <anastasis.gramm2@gmail.com>2018-11-16 14:43:19 +0200
commit54ae271dfc5f8405233ed320b2e9bd821ee8210f (patch)
tree9b27941b0e5cc0aa5ba805e1bcb9f8d7ff965592 /src/ckutil.h
parent97e14c73be6684259e235a92cc575ea39a04fc7e (diff)
downloadck-54ae271dfc5f8405233ed320b2e9bd821ee8210f.tar.gz
ck-54ae271dfc5f8405233ed320b2e9bd821ee8210f.tar.bz2
ck-54ae271dfc5f8405233ed320b2e9bd821ee8210f.zip
Code restructure/simplification, restore regression test
Diffstat (limited to 'src/ckutil.h')
-rw-r--r--src/ckutil.h6
1 files changed, 4 insertions, 2 deletions
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