source: trunk/include/sh_utmp.h@ 305

Last change on this file since 305 was 279, checked in by katerina, 15 years ago

Fix for tickets #200 to #206 (kernel check, login checks, bugfixes).

File size: 1.1 KB
Line 
1
2#ifndef SH_UTMP_H
3#define SH_UTMP_H
4
5#include "sh_modules.h"
6
7#ifdef SH_USE_UTMP
8int sh_utmp_init (struct mod_type * arg);
9int sh_utmp_timer (time_t tcurrent);
10int sh_utmp_check (void);
11int sh_utmp_end (void);
12int sh_utmp_reconf (void);
13
14int sh_utmp_set_login_activate (const char * c);
15int sh_utmp_set_login_solo (const char * c);
16int sh_utmp_set_login_multi (const char * c);
17int sh_utmp_set_logout_good (const char * c);
18int sh_utmp_set_login_timer (const char * c);
19
20extern sh_rconf sh_utmp_table[];
21
22/* >> Login tracking << */
23
24/* 'yes', 'no', 'paranoid' */
25int sh_login_set_siglevel (const char * c);
26
27/* 'yes', 'no', 'domain' */
28int sh_login_set_checklevel (const char * c);
29
30/* 'always' 'never' workdays(..) sunday(..) */
31int sh_login_set_def_allow (const char * c);
32
33/* user:'always' 'never' workdays(..) */
34int sh_login_set_user_allow (const char * c);
35
36/* Reset everything to defaults. */
37void sh_login_reset (void);
38
39#endif
40
41/* #ifndef SH_UTMP_H */
42#endif
Note: See TracBrowser for help on using the repository browser.