Blame


1 f26f1205 2022-02-09 op /*
2 64f4f8e2 2022-04-24 op * Copyright (c) 2021, 2022 Omar Polo <op@omarpolo.com>
3 f26f1205 2022-02-09 op *
4 f26f1205 2022-02-09 op * Permission to use, copy, modify, and distribute this software for any
5 f26f1205 2022-02-09 op * purpose with or without fee is hereby granted, provided that the above
6 f26f1205 2022-02-09 op * copyright notice and this permission notice appear in all copies.
7 f26f1205 2022-02-09 op *
8 f26f1205 2022-02-09 op * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 f26f1205 2022-02-09 op * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 f26f1205 2022-02-09 op * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 f26f1205 2022-02-09 op * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 f26f1205 2022-02-09 op * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 f26f1205 2022-02-09 op * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 f26f1205 2022-02-09 op * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 f26f1205 2022-02-09 op */
16 f26f1205 2022-02-09 op
17 f26f1205 2022-02-09 op #ifndef FS_H
18 f26f1205 2022-02-09 op #define FS_H
19 f26f1205 2022-02-09 op
20 f63b8f73 2022-04-24 op struct tab;
21 f63b8f73 2022-04-24 op struct tofu_entry;
22 f26f1205 2022-02-09 op
23 f26f1205 2022-02-09 op extern char config_path_base[PATH_MAX];
24 f26f1205 2022-02-09 op extern char data_path_base[PATH_MAX];
25 f26f1205 2022-02-09 op extern char cache_path_base[PATH_MAX];
26 f26f1205 2022-02-09 op
27 4cf6ba13 2022-02-11 op extern char ctlsock_path[PATH_MAX];
28 f26f1205 2022-02-09 op extern char config_path[PATH_MAX];
29 f26f1205 2022-02-09 op extern char lockfile_path[PATH_MAX];
30 f26f1205 2022-02-09 op extern char bookmark_file[PATH_MAX];
31 f26f1205 2022-02-09 op extern char known_hosts_file[PATH_MAX], known_hosts_tmp[PATH_MAX];
32 f26f1205 2022-02-09 op extern char crashed_file[PATH_MAX];
33 de6a6a40 2022-04-24 op extern char session_file[PATH_MAX], session_file_tmp[PATH_MAX];
34 de6a6a40 2022-04-24 op extern char history_file[PATH_MAX], history_file_tmp[PATH_MAX];
35 f26f1205 2022-02-09 op
36 f26f1205 2022-02-09 op int fs_init(void);
37 f63b8f73 2022-04-24 op void fs_load_url(struct tab *, const char *);
38 f26f1205 2022-02-09 op
39 f26f1205 2022-02-09 op #endif