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