]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/shared/pretty-print.h
Voidify more mkdir_p calls
[thirdparty/systemd.git] / src / shared / pretty-print.h
CommitLineData
294bf0c3
ZJS
1/* SPDX-License-Identifier: LGPL-2.1+ */
2#pragma once
3
4void print_separator(void);
5
62d6a1cc
LP
6int file_url_from_path(const char *path, char **ret);
7
294bf0c3
ZJS
8int terminal_urlify(const char *url, const char *text, char **ret);
9int terminal_urlify_path(const char *path, const char *text, char **ret);
10int terminal_urlify_man(const char *page, const char *section, char **ret);
11
12typedef enum CatFlags {
13 CAT_FLAGS_MAIN_FILE_OPTIONAL = 1 << 0,
14} CatFlags;
15
16int cat_files(const char *file, char **dropins, CatFlags flags);
17int conf_files_cat(const char *root, const char *name);