summaryrefslogtreecommitdiff
path: root/common/path.h
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2013-07-03 10:38:19 +0200
committerStef Walter <stef@thewalter.net>2013-07-03 11:49:26 +0200
commit81431ffd8cbf55175b1b9a9ed130fc67d0d4000b (patch)
treeb6715f32115c537dd71a488048a9241a037024ad /common/path.h
parent1c4522e5df79bd197feab8448008fc2bf6b4ea2e (diff)
downloadp11-kit-81431ffd8cbf55175b1b9a9ed130fc67d0d4000b.tar.gz
path: Add p11_path_canon() function
Cleans up a filename with readable characters.
Diffstat (limited to 'common/path.h')
-rw-r--r--common/path.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/path.h b/common/path.h
index cd135cb..0b19a5d 100644
--- a/common/path.h
+++ b/common/path.h
@@ -64,4 +64,6 @@ char * p11_path_parent (const char *path);
bool p11_path_prefix (const char *string,
const char *prefix);
+void p11_path_canon (char *name);
+
#endif /* P11_PATH_H__ */