💾 Archived View for gemini.rmf-dev.com › repo › Vaati › Vgmi › files › 3b9387c2e04e6cc211810cb4cdaba… captured on 2024-02-05 at 10:03:50. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
0 /*
1 * ISC License
2 * Copyright (c) 2023 RMF <rawmonk@firemail.cc>
3 */
4 struct client;
5 struct tab {
6 struct request *request;
7 struct request *view;
8 void *mutex;
9 struct secure *secure;
10 char error[3072];
11 char input[1024];
12 int failure;
13 struct tab *next;
14 struct tab *prev;
15 /* internal */
16 int loading;
17 };
18
19 struct tab *tab_new(void);
20 void tab_display(struct tab*, struct client*);
21 int tab_request(struct tab*, const char *url);
22 int tab_follow(struct tab* tab, const char *link);
23 int tab_scroll(struct tab*, int, struct rect);
24 struct request *tab_completed(struct tab *tab);
25 struct request *tab_input(struct tab *tab);
26 void tab_free(struct tab*);
27