1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22#ifndef BB_SHADOW_H
23#define BB_SHADOW_H 1
24
25PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
26
27
28struct spwd {
29 char *sp_namp;
30 char *sp_pwdp;
31 long sp_lstchg;
32 long sp_min;
33 long sp_max;
34 long sp_warn;
35 long sp_inact;
36 long sp_expire;
37 unsigned long sp_flag;
38};
39
40#define setspent bb_internal_setspent
41#define endspent bb_internal_endspent
42#define getspent bb_internal_getspent
43#define getspnam bb_internal_getspnam
44#define sgetspent bb_internal_sgetspent
45#define fgetspent bb_internal_fgetspent
46#define putspent bb_internal_putspent
47#define getspent_r bb_internal_getspent_r
48#define getspnam_r bb_internal_getspnam_r
49#define sgetspent_r bb_internal_sgetspent_r
50#define fgetspent_r bb_internal_fgetspent_r
51#define lckpwdf bb_internal_lckpwdf
52#define ulckpwdf bb_internal_ulckpwdf
53
54
55
56
57
58#ifdef UNUSED_FOR_NOW
59
60void FAST_FUNC setspent(void);
61
62
63void FAST_FUNC endspent(void);
64
65
66struct spwd* FAST_FUNC getspent(void);
67
68
69struct spwd* FAST_FUNC getspnam(const char *__name);
70
71
72struct spwd* FAST_FUNC sgetspent(const char *__string);
73
74
75struct spwd* FAST_FUNC fgetspent(FILE *__stream);
76
77
78int FAST_FUNC putspent(const struct spwd *__p, FILE *__stream);
79
80
81int FAST_FUNC getspent_r(struct spwd *__result_buf, char *__buffer,
82 size_t __buflen, struct spwd **__result);
83#endif
84
85int FAST_FUNC getspnam_r(const char *__name, struct spwd *__result_buf,
86 char *__buffer, size_t __buflen,
87 struct spwd **__result);
88
89#ifdef UNUSED_FOR_NOW
90int FAST_FUNC sgetspent_r(const char *__string, struct spwd *__result_buf,
91 char *__buffer, size_t __buflen,
92 struct spwd **__result);
93
94int FAST_FUNC fgetspent_r(FILE *__stream, struct spwd *__result_buf,
95 char *__buffer, size_t __buflen,
96 struct spwd **__result);
97
98int FAST_FUNC lckpwdf(void);
99
100
101int FAST_FUNC ulckpwdf(void);
102#endif
103
104POP_SAVED_FUNCTION_VISIBILITY
105
106#endif
107