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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
/* This is a generated file */
#ifndef __login_protos_h__
#define __login_protos_h__
#include <stdarg.h>
#ifdef __cplusplus
extern "C" {
#endif
void
add_env (
const char */*var*/,
const char */*value*/);
void
check_shadow (
const struct passwd */*pw*/,
const struct spwd */*sp*/);
char *
clean_ttyname (char */*tty*/);
void
copy_env (void);
int
do_osfc2_magic (uid_t /*uid*/);
void
extend_env (char */*str*/);
int
login_access (
struct passwd */*user*/,
char */*from*/);
char *
login_conf_get_string (const char */*str*/);
int
login_read_env (const char */*file*/);
char *
make_id (char */*tty*/);
void
prepare_utmp (
struct utmp */*utmp*/,
char */*tty*/,
const char */*username*/,
const char */*hostname*/);
int
read_limits_conf (
const char */*file*/,
const struct passwd */*pwd*/);
int
read_string (
const char */*prompt*/,
char */*buf*/,
size_t /*len*/,
int /*echo*/);
void
shrink_hostname (
const char */*hostname*/,
char */*dst*/,
size_t /*dst_sz*/);
void
stty_default (void);
void
utmp_login (
char */*tty*/,
const char */*username*/,
const char */*hostname*/);
int
utmpx_login (
char */*line*/,
const char */*user*/,
const char */*host*/);
#ifdef __cplusplus
}
#endif
#endif /* __login_protos_h__ */
|