Lines Matching refs:lc
88 login_timelist(login_cap_t *lc, char const *cap, int *ltno, in login_timelist() argument
95 if ((tl = login_getcaplist(lc, cap, NULL)) != NULL) { in login_timelist()
125 login_ttyok(login_cap_t *lc, const char *tty, const char *allowcap, in login_ttyok() argument
130 if (lc != NULL && tty != NULL && *tty != '\0') { in login_ttyok()
137 ttl = login_getcaplist(lc, allowcap, NULL); in login_ttyok()
143 ttl = login_getcaplist(lc, denycap, NULL); in login_ttyok()
160 auth_ttyok(login_cap_t *lc, const char * tty) in auth_ttyok() argument
162 return login_ttyok(lc, tty, "ttys.allow", "ttys.deny"); in auth_ttyok()
174 login_hostok(login_cap_t *lc, const char *host, const char *ip, in login_hostok() argument
179 if (lc != NULL && in login_hostok()
183 hl = login_getcaplist(lc, allowcap, NULL); in login_hostok()
188 hl = login_getcaplist(lc, denycap, NULL); in login_hostok()
204 auth_hostok(login_cap_t *lc, const char *host, const char *ip) in auth_hostok() argument
206 return login_hostok(lc, host, ip, "host.allow", "host.deny"); in auth_hostok()
216 auth_timeok(login_cap_t *lc, time_t t) in auth_timeok() argument
220 if (lc != NULL && t != (time_t)0 && t != (time_t)-1) { in auth_timeok()
229 lt = login_timelist(lc, "times.allow", <imesno, <imes); in auth_timeok()
234 lt = login_timelist(lc, "times.deny", <imesno, <imes); in auth_timeok()