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

Added lots of configuration.

parent 8a80971b
/* /*
* $Id: param.h,v 1.1 1994/01/12 01:29:29 ceder Exp $ * $Id: param.h,v 1.2 1994/02/19 03:57:56 ceder Exp $
* Copyright (C) 1994 Lysator Academic Computer Association. * Copyright (C) 1994 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -28,6 +28,8 @@ ...@@ -28,6 +28,8 @@
#ifndef PARAM_H_INCLUDED #ifndef PARAM_H_INCLUDED
#define PARAM_H_INCLUDED #define PARAM_H_INCLUDED
/* See ramkomd.c and lyskomd.8 for more info about the
fields in this structure. */
struct kom_par { struct kom_par {
char *dbase_dir; char *dbase_dir;
char *use_locale; char *use_locale;
...@@ -42,7 +44,49 @@ struct kom_par { ...@@ -42,7 +44,49 @@ struct kom_par {
char *ip_mux_port; /* Port to listen to for mux:es */ char *ip_mux_port; /* Port to listen to for mux:es */
int num_ip_client_port; /* Calculated from ip_client_port. */ int num_ip_client_port; /* Calculated from ip_client_port. */
int num_ip_mux_port; /* Calculated from ip_mux_port. */ int num_ip_mux_port; /* Calculated from ip_mux_port. */
Info param_info; Conf_no conf_pres_conf;
Conf_no pers_pres_conf;
Conf_no motd_conf;
Conf_no kom_news_conf;
Text_no motd_of_lyskom;
char *datafile_name;
char *backupfile_name;
char *textfile_name;
char *textbackupfile_name; /* Only used in dbck */
char *statistic_name;
char *pid_name;
char *memuse_name;
int timeout;
int garbtimeout;
int synctimeout;
int garb_interval;
int sync_interval;
int sync_retry_interval;
int conf_name_len;
int pwd_len;
int what_do_len;
int username_len;
int text_len;
int broadcast_len;
int regexp_len;
int max_marks_person;
int max_marks_text;
int max_recipients;
int max_comm;
int max_foot;
int max_crea_misc;
int mark_as_read_chunk;
int max_super_conf_loop;
int default_nice;
int maxqueuedsize;
int maxdequeuelen;
Bool anyone_can_create_new_persons;
Bool anyone_can_create_new_confs;
Bool create_person_before_login;
Bool default_change_name;
int cache_conferences;
int cache_persons;
int cache_text_stats;
}; };
extern struct kom_par param; extern struct kom_par param;
......
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