💾 Archived View for gemini.rmf-dev.com › repo › Vaati › gmi_proxy › files › f8f56f55fc5b3c9866bc40e4… captured on 2023-05-24 at 18:44:53. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-04-19)

➡️ Next capture (2023-09-08)

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

0 /* See LICENSE file for copyright and license details. */

1 #define WORD_SIZE 1024

2

3 struct conf {

4 int threads;

5 char clients[WORD_SIZE];

6 };

7 extern struct conf conf;

8

9 struct server {

10 char name[WORD_SIZE];

11 char certificate[WORD_SIZE];

12 char key[WORD_SIZE];

13 char relayto[WORD_SIZE];

14 char relayto_port[WORD_SIZE];

15 bool plain;

16 bool forward;

17 bool client;

18 bool exist;

19 };

20 extern struct server *servers;

21

22 int conf_load(const char *path);

23 void conf_unload();

24 struct server *conf_get(const char *name);

25

26 #define END_OF_ARRAY 0xFF

27