summaryrefslogtreecommitdiff
path: root/vchat-config.h
diff options
context:
space:
mode:
authorerdgeist <>2006-01-26 18:40:30 +0000
committererdgeist <>2006-01-26 18:40:30 +0000
commit57689e698230030803c872072a03329fdd4fecc6 (patch)
treeb4f8671dbe04741be93091e99eb3c6aa81b9bebd /vchat-config.h
parent4413fb15bec35744c06ac3cfce2ae2bfa6953ae1 (diff)
unsigned char tidy up, query mode
Diffstat (limited to 'vchat-config.h')
-rwxr-xr-xvchat-config.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/vchat-config.h b/vchat-config.h
index 008a940..ce9c72d 100755
--- a/vchat-config.h
+++ b/vchat-config.h
@@ -23,8 +23,8 @@
23#endif 23#endif
24 24
25/* configuration array with structure as defined in vchat.h */ 25/* configuration array with structure as defined in vchat.h */
26extern int usessl; 26extern unsigned int usessl;
27extern int usetime; 27extern unsigned int usetime;
28extern unsigned int hscroll; 28extern unsigned int hscroll;
29 29
30static volatile configoption configoptions[] = { 30static volatile configoption configoptions[] = {
@@ -38,7 +38,6 @@ static volatile configoption configoptions[] = {
38 {CF_CERTFILE, CO_STR, "certfile", "~/.vchat/cert", NULL, { NULL } }, 38 {CF_CERTFILE, CO_STR, "certfile", "~/.vchat/cert", NULL, { NULL } },
39 {CF_KEYFILE, CO_STR, "keyfile", "~/.vchat/key", NULL, { NULL } }, 39 {CF_KEYFILE, CO_STR, "keyfile", "~/.vchat/key", NULL, { NULL } },
40 {CF_FORMFILE, CO_STR, "formatfile", "~/.vchat/formats", NULL, { NULL } }, 40 {CF_FORMFILE, CO_STR, "formatfile", "~/.vchat/formats", NULL, { NULL } },
41 {CF_LOGFILE, CO_STR, "logfile", "~/.vchat/log", NULL, { NULL } },
42 {CF_ENCODING, CO_STR, "encoding", NULL, NULL, { .pstr = &encoding }}, 41 {CF_ENCODING, CO_STR, "encoding", NULL, NULL, { .pstr = &encoding }},
43 {CF_USESSL, CO_INT, "usessl", (char *) 1, (char *)-1, { .pint = &usessl } }, 42 {CF_USESSL, CO_INT, "usessl", (char *) 1, (char *)-1, { .pint = &usessl } },
44 {CF_USECERT, CO_INT, "usecert", (char *) 1, (char *)-1, { NULL } }, 43 {CF_USECERT, CO_INT, "usecert", (char *) 1, (char *)-1, { NULL } },
@@ -51,7 +50,6 @@ static volatile configoption configoptions[] = {
51 {CF_SCROLLBACK, CO_INT, "scrollback", (char *) 8192, (char *)-1, { NULL } }, 50 {CF_SCROLLBACK, CO_INT, "scrollback", (char *) 8192, (char *)-1, { NULL } },
52 {CF_SCROLLBPRIVT,CO_INT, "privscrollt",(char *) 0, (char *)-1, { NULL } }, 51 {CF_SCROLLBPRIVT,CO_INT, "privscrollt",(char *) 0, (char *)-1, { NULL } },
53 {CF_SCROLLBACKT, CO_INT, "scrolltime", (char *) 86400, (char *)-1, { NULL } }, 52 {CF_SCROLLBACKT, CO_INT, "scrolltime", (char *) 86400, (char *)-1, { NULL } },
54 {CF_KEEPLOG, CO_INT, "keeplog", (char *) 0, (char *)-1, { NULL } },
55 {CF_BELLPRIV, CO_INT, "bellonpm", (char *) 0, (char *)-1, { NULL } }, 53 {CF_BELLPRIV, CO_INT, "bellonpm", (char *) 0, (char *)-1, { NULL } },
56 {CF_NIL, CO_NIL, NULL, NULL, NULL, { NULL } }, 54 {CF_NIL, CO_NIL, NULL, NULL, NULL, { NULL } },
57}; 55};