]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/shared/pretty-print.h
Merge pull request #16491 from keszybz/udev-logging
[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
422c8251
LP
8bool urlify_enabled(void);
9
294bf0c3
ZJS
10int terminal_urlify(const char *url, const char *text, char **ret);
11int terminal_urlify_path(const char *path, const char *text, char **ret);
12int terminal_urlify_man(const char *page, const char *section, char **ret);
13
14typedef enum CatFlags {
15 CAT_FLAGS_MAIN_FILE_OPTIONAL = 1 << 0,
16} CatFlags;
17
18int cat_files(const char *file, char **dropins, CatFlags flags);
19int conf_files_cat(const char *root, const char *name);