summaryrefslogtreecommitdiff
path: root/src/shared/pretty-print.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-11-07 11:09:03 +0100
committerLennart Poettering <lennart@poettering.net>2018-11-30 16:46:10 +0100
commit62d6a1cc9f89734db245f208643c052ce6e1e56c (patch)
treedcfaf883593ee1f10e675f16f78fe7d1798d4b6f /src/shared/pretty-print.h
parent8a453c9dfca19e229f9ef3bc026dc2a775246875 (diff)
downloadsystemd-62d6a1cc9f89734db245f208643c052ce6e1e56c.tar.gz
terminal-util: split out file:// generation from terminal_urlify_path()
This way we can use it at other places, for example when preparing URLs for format_table_set_url()
Diffstat (limited to 'src/shared/pretty-print.h')
-rw-r--r--src/shared/pretty-print.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/pretty-print.h b/src/shared/pretty-print.h
index cf9a70dd9e..12ab9acf58 100644
--- a/src/shared/pretty-print.h
+++ b/src/shared/pretty-print.h
@@ -3,6 +3,8 @@
void print_separator(void);
+int file_url_from_path(const char *path, char **ret);
+
int terminal_urlify(const char *url, const char *text, char **ret);
int terminal_urlify_path(const char *path, const char *text, char **ret);
int terminal_urlify_man(const char *page, const char *section, char **ret);