Rev 10 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
10 | reyssat | 1 | /* Copyright (C) 1998-2003 XIAO, Gang of Universite de Nice - Sophia Antipolis |
2 | * |
||
3 | * This program is free software; you can redistribute it and/or modify |
||
4 | * it under the terms of the GNU General Public License as published by |
||
5 | * the Free Software Foundation; either version 2 of the License, or |
||
6 | * (at your option) any later version. |
||
7 | * |
||
8 | * This program is distributed in the hope that it will be useful, |
||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
11 | * GNU General Public License for more details. |
||
12 | * |
||
13 | * You should have received a copy of the GNU General Public License |
||
14 | * along with this program; if not, write to the Free Software |
||
15 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
||
16 | */ |
||
17 | |||
18 | /* WWW interactive multipurpose server, shared memory definitions */ |
||
19 | |||
20 | #ifndef wimsshm_h |
||
21 | |||
22 | #define SHM_NAME "/wims.shm" |
||
23 | #define SHM_SIZE 4096 |
||
24 | |||
25 | typedef struct shm_struct { |
||
26 | int dm_pid, dm_time, dm_lock; |
||
27 | char loadavg[64]; |
||
28 | int haschroot; |
||
29 | char myip[32]; |
||
30 | |||
31 | char *cf_commonpath; |
||
32 | char *cf_aliased_cgi; |
||
33 | char *cf_aliased_getfile; |
||
34 | int cf_backup_hour; |
||
35 | char *cf_cgi_name; |
||
36 | int cf_class_limit; |
||
37 | int cf_class_quota; |
||
225 | guerimand | 38 | int cf_superclass_quota; |
10 | reyssat | 39 | char *cf_class_regpass; |
40 | int cf_class_user_limit; |
||
41 | char *cf_css; |
||
42 | char *cf_default_anim_format; |
||
43 | char *cf_default_ins_format; |
||
44 | char *cf_default_insplot_font; |
||
45 | int cf_default_texposition; |
||
46 | char *cf_devel_modules; |
||
47 | int cf_doc_quota; |
||
48 | char *cf_doc_regpass; |
||
49 | int cf_examlog_limit; |
||
50 | |||
51 | int fcachecnt; |
||
52 | } shm_struct; |
||
53 | |||
54 | struct shm_struct *shmptr; |
||
55 | |||
56 | #define wimsshm_h |
||
57 | #endif |
||
58 |