💾 Archived View for gemini.rmf-dev.com › repo › Vaati › Vgmi › files › 726f5d7b35005fa43f07daead7aba… captured on 2024-02-05 at 09:58:41. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

Go Back

0 /*

1 * ISC License

2 * Copyright (c) 2023 RMF <rawmonk@firemail.cc>

3 */

4

5 #ifdef KNOWN_HOSTS_INTERNAL

6 struct known_host {

7 char host[MAX_HOST];

8 char hash[128];

9 time_t start;

10 time_t end;

11 struct known_host *next;

12 };

13 #define HT_SIZE 4096

14 extern struct known_host *known_hosts[HT_SIZE];

15 #endif

16

17 int known_hosts_verify(const char *, const char *, time_t, time_t);

18 int known_hosts_load(void);

19 int known_hosts_rewrite(void);

20 int known_hosts_expired(const char *host);

21 int known_hosts_forget(const char *host);

22 void known_hosts_free(void);

23