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