]>
Commit | Line | Data |
---|---|---|
294bf0c3 ZJS |
1 | /* SPDX-License-Identifier: LGPL-2.1+ */ |
2 | #pragma once | |
3 | ||
4 | void print_separator(void); | |
5 | ||
62d6a1cc LP |
6 | int file_url_from_path(const char *path, char **ret); |
7 | ||
294bf0c3 ZJS |
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); |