Commit d1206d58 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(parameters): New config: "Force ISO 8859-1" and "Open files".

parent 2cf9d925
/* /*
* $Id: server-config.c,v 0.32 1994/06/18 20:39:10 ceder Exp $ * $Id: server-config.c,v 0.33 1994/10/24 00:38:57 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994 Lysator Academic Computer Association. * Copyright (C) 1991, 1992, 1993, 1994 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
* Compile with -DDEFAULT_PREFIX='"/usr/lyskom"' or something similar. * Compile with -DDEFAULT_PREFIX='"/usr/lyskom"' or something similar.
*/ */
static char *rcsid = "$Id: server-config.c,v 0.32 1994/06/18 20:39:10 ceder Exp $"; static char *rcsid = "$Id: server-config.c,v 0.33 1994/10/24 00:38:57 ceder Exp $";
#include "rcs.h" #include "rcs.h"
USE(rcsid); USE(rcsid);
...@@ -65,6 +65,8 @@ static const struct parameter parameters[] = { ...@@ -65,6 +65,8 @@ static const struct parameter parameters[] = {
/* "Normal" configuration */ /* "Normal" configuration */
{"Locale", {"Locale",
assign_string, 0, 1, NULL, &param.use_locale}, assign_string, 0, 1, NULL, &param.use_locale},
{"Force ISO 8859-1",
assign_bool, 0, 1, "no", &param.force_iso_8859_1},
{"Prefix", {"Prefix",
assign_string, 0, 1, DEFAULT_PREFIX, &param.dbase_dir}, assign_string, 0, 1, DEFAULT_PREFIX, &param.dbase_dir},
{"Send async", {"Send async",
...@@ -163,6 +165,8 @@ static const struct parameter parameters[] = { ...@@ -163,6 +165,8 @@ static const struct parameter parameters[] = {
assign_int, 0, 1, "300", &param.maxqueuedsize}, assign_int, 0, 1, "300", &param.maxqueuedsize},
{"Max simultaneous client replies", {"Max simultaneous client replies",
assign_int, 0, 1, "10", &param.maxdequeuelen}, assign_int, 0, 1, "10", &param.maxdequeuelen},
{"Open files",
assign_int, 0, 1, "-1", &param.no_files},
/* Security options */ /* Security options */
{"Anyone can create new persons", {"Anyone can create new persons",
assign_bool, 0, 1, "yes", &param.anyone_can_create_new_persons}, assign_bool, 0, 1, "yes", &param.anyone_can_create_new_persons},
...@@ -172,6 +176,8 @@ static const struct parameter parameters[] = { ...@@ -172,6 +176,8 @@ static const struct parameter parameters[] = {
assign_bool, 0, 1, "yes", &param.create_person_before_login}, assign_bool, 0, 1, "yes", &param.create_person_before_login},
{"Default change name capability", {"Default change name capability",
assign_bool, 0, 1, "on", &param.default_change_name}, assign_bool, 0, 1, "on", &param.default_change_name},
{"Log login",
assign_bool, 0, 1, "off", &param.log_login},
/* Cache configuration */ /* Cache configuration */
{"Cache conference limit", {"Cache conference limit",
assign_int, 0, 1, "20", &param.cache_conferences}, assign_int, 0, 1, "20", &param.cache_conferences},
...@@ -187,8 +193,6 @@ static const struct parameter parameters[] = { ...@@ -187,8 +193,6 @@ static const struct parameter parameters[] = {
jubel, 0, -1, NULL, NULL}, jubel, 0, -1, NULL, NULL},
{"Ident-authentication", {"Ident-authentication",
ident_param, 0, 1, "try", &param.authentication_level}, ident_param, 0, 1, "try", &param.authentication_level},
{"Log login",
assign_bool, 0, 1, "off", &param.log_login},
/* end marker */ /* end marker */
{NULL, NULL, 0, 0, NULL, NULL}}; {NULL, NULL, 0, 0, NULL, NULL}};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment