]>
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 | ||
422c8251 LP |
8 | bool urlify_enabled(void); |
9 | ||
294bf0c3 ZJS |
10 | int terminal_urlify(const char *url, const char *text, char **ret); |
11 | int terminal_urlify_path(const char *path, const char *text, char **ret); | |
12 | int terminal_urlify_man(const char *page, const char *section, char **ret); | |
13 | ||
14 | typedef enum CatFlags { | |
15 | CAT_FLAGS_MAIN_FILE_OPTIONAL = 1 << 0, | |
16 | } CatFlags; | |
17 | ||
18 | int cat_files(const char *file, char **dropins, CatFlags flags); | |
19 | int conf_files_cat(const char *root, const char *name); |