source: trunk/src/sh_modules.c@ 3

Last change on this file since 3 was 1, checked in by katerina, 19 years ago

Initial import

File size: 1.4 KB
Line 
1#include "config_xor.h"
2
3#include <stdio.h>
4#include <time.h>
5
6#if defined (SH_WITH_CLIENT) || defined (SH_STANDALONE)
7
8#include "sh_modules.h"
9
10#include "sh_utmp.h"
11#include "sh_mounts.h"
12#include "sh_userfiles.h"
13#include "sh_kern.h"
14#include "sh_suidchk.h"
15
16sh_mtype modList[] = {
17#ifdef SH_USE_UTMP
18 {
19 N_("UTMP"),
20 0,
21 sh_utmp_init,
22 sh_utmp_timer,
23 sh_utmp_check,
24 sh_utmp_end,
25 sh_utmp_null,
26
27 N_("[Utmp]"),
28 sh_utmp_table,
29 },
30#endif
31
32#ifdef SH_USE_MOUNTS
33 {
34 N_("MOUNTS"),
35 0,
36 sh_mounts_init,
37 sh_mounts_timer,
38 sh_mounts_check,
39 sh_mounts_cleanup,
40 sh_mounts_reconf,
41
42 N_("[Mounts]"),
43 sh_mounts_table,
44 },
45#endif
46
47#ifdef SH_USE_USERFILES
48 {
49 N_("USERFILES"),
50 0,
51 sh_userfiles_init,
52 sh_userfiles_timer,
53 sh_userfiles_check,
54 sh_userfiles_cleanup,
55 sh_userfiles_reconf,
56
57 N_("[UserFiles]"),
58 sh_userfiles_table,
59 },
60#endif
61
62#ifdef SH_USE_KERN
63 {
64 N_("KERNEL"),
65 0,
66 sh_kern_init,
67 sh_kern_timer,
68 sh_kern_check,
69 sh_kern_end,
70 sh_kern_null,
71
72 N_("[Kernel]"),
73 sh_kern_table,
74 },
75#endif
76#ifdef SH_USE_SUIDCHK
77 {
78 N_("SUIDCHECK"),
79 0,
80 sh_suidchk_init,
81 sh_suidchk_timer,
82 sh_suidchk_check,
83 sh_suidchk_end,
84 sh_suidchk_free_schedule,
85
86 N_("[SuidCheck]"),
87 sh_suidchk_table,
88 },
89#endif
90 {
91 NULL,
92 0,
93
94 NULL,
95 NULL,
96 NULL,
97 NULL,
98 NULL,
99
100 NULL,
101 NULL,
102 },
103};
104
105#endif
106
Note: See TracBrowser for help on using the repository browser.