]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/shared/pretty-print.h
Merge pull request #11827 from keszybz/pkgconfig-variables
[thirdparty/systemd.git] / src / shared / pretty-print.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 #pragma once
3
4 void print_separator(void);
5
6 int file_url_from_path(const char *path, char **ret);
7
8 int terminal_urlify(const char *url, const char *text, char **ret);
9 int terminal_urlify_path(const char *path, const char *text, char **ret);
10 int terminal_urlify_man(const char *page, const char *section, char **ret);
11
12 typedef enum CatFlags {
13 CAT_FLAGS_MAIN_FILE_OPTIONAL = 1 << 0,
14 } CatFlags;
15
16 int cat_files(const char *file, char **dropins, CatFlags flags);
17 int conf_files_cat(const char *root, const char *name);