diff options
author | erdgeist <> | 2007-06-27 21:59:32 +0000 |
---|---|---|
committer | erdgeist <> | 2007-06-27 21:59:32 +0000 |
commit | 3c11bea99886b006ca499e1be6a3a17d225cedc7 (patch) | |
tree | 687a3e0e762669af85c5858420856b49686795cd /vchat-config.h | |
parent | d4861ca31f0406f5c49023bc2c3bc4cfa54e3693 (diff) |
Introducing new ssl code
Diffstat (limited to 'vchat-config.h')
-rwxr-xr-x | vchat-config.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vchat-config.h b/vchat-config.h index e2bbc40..eb0afc1 100755 --- a/vchat-config.h +++ b/vchat-config.h | |||
@@ -24,14 +24,15 @@ | |||
24 | 24 | ||
25 | /* configuration array with structure as defined in vchat.h */ | 25 | /* configuration array with structure as defined in vchat.h */ |
26 | extern unsigned int usessl; | 26 | extern unsigned int usessl; |
27 | extern unsigned int ignssl; | ||
27 | extern unsigned int usetime; | 28 | extern unsigned int usetime; |
28 | extern unsigned int hscroll; | 29 | extern unsigned int hscroll; |
29 | 30 | ||
30 | static volatile configoption configoptions[] = { | 31 | static volatile configoption configoptions[] = { |
31 | /* config-option type name in file default value value localvar */ | 32 | /* config-option type name in file default value value localvar */ |
32 | {CF_NICK, CO_STR, "nick", NULL, NULL, { .pstr = &nick } }, | 33 | {CF_NICK, CO_STR, "nick", NULL, NULL, { .pstr = &nick } }, |
33 | {CF_FROM, CO_STR, "from", "vc-alpha-0.16", NULL, { NULL } }, | 34 | {CF_FROM, CO_STR, "from", "vc-alpha-0.17", NULL, { NULL } }, |
34 | {CF_SERVERHOST, CO_STR, "host", "pulse.flatline.de", NULL, { NULL } }, | 35 | {CF_SERVERHOST, CO_STR, "host", "localhost", NULL, { NULL } }, |
35 | {CF_SERVERPORT, CO_STR, "port", "2325", NULL, { NULL } }, | 36 | {CF_SERVERPORT, CO_STR, "port", "2325", NULL, { NULL } }, |
36 | {CF_CIPHERSUITE, CO_STR, "ciphers", "HIGH:MEDIUM", NULL, { NULL } }, | 37 | {CF_CIPHERSUITE, CO_STR, "ciphers", "HIGH:MEDIUM", NULL, { NULL } }, |
37 | {CF_CONFIGFILE, CO_STR, "conffile", "~/.vchat/config", NULL, { NULL } }, | 38 | {CF_CONFIGFILE, CO_STR, "conffile", "~/.vchat/config", NULL, { NULL } }, |
@@ -41,6 +42,7 @@ static volatile configoption configoptions[] = { | |||
41 | {CF_LOGINSCRIPT, CO_STR, "loginscript","~/.vchat/loginscript", NULL, { NULL } }, | 42 | {CF_LOGINSCRIPT, CO_STR, "loginscript","~/.vchat/loginscript", NULL, { NULL } }, |
42 | {CF_ENCODING, CO_STR, "encoding", NULL, NULL, { .pstr = &encoding }}, | 43 | {CF_ENCODING, CO_STR, "encoding", NULL, NULL, { .pstr = &encoding }}, |
43 | {CF_USESSL, CO_INT, "usessl", (char *) 1, (char *)-1, { .pint = &usessl } }, | 44 | {CF_USESSL, CO_INT, "usessl", (char *) 1, (char *)-1, { .pint = &usessl } }, |
45 | {CF_IGNSSL, CO_INT, "ignssl", (char *) 0, (char *)-1, { .pint = &ignssl } }, | ||
44 | {CF_USECERT, CO_INT, "usecert", (char *) 1, (char *)-1, { NULL } }, | 46 | {CF_USECERT, CO_INT, "usecert", (char *) 1, (char *)-1, { NULL } }, |
45 | {CF_USETIME, CO_INT, "usetime", (char *) 1, (char *)-1, { .pint = &usetime } }, | 47 | {CF_USETIME, CO_INT, "usetime", (char *) 1, (char *)-1, { .pint = &usetime } }, |
46 | {CF_USETOPIC, CO_INT, "usetopicbar",(char *) 1, (char *)-1, { NULL } }, | 48 | {CF_USETOPIC, CO_INT, "usetopicbar",(char *) 1, (char *)-1, { NULL } }, |