Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
c8a6d914
Commit
c8a6d914
authored
Feb 19, 1994
by
Per Cederqvist
Browse files
Added lots of configuration.
parent
8a80971b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/param.h
View file @
c8a6d914
/*
* $Id: param.h,v 1.
1
1994/0
1
/1
2
0
1:29:29
ceder Exp $
* $Id: param.h,v 1.
2
1994/0
2
/1
9
0
3:57:56
ceder Exp $
* Copyright (C) 1994 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -28,6 +28,8 @@
#ifndef 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
{
char
*
dbase_dir
;
char
*
use_locale
;
...
...
@@ -42,7 +44,49 @@ struct kom_par {
char
*
ip_mux_port
;
/* Port to listen to for mux:es */
int
num_ip_client_port
;
/* Calculated from ip_client_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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment