Lines Matching refs:lc
91 login_timelist(login_cap_t *lc, char const *cap, int *ltno, in login_timelist() argument
98 if ((tl = login_getcaplist(lc, cap, NULL)) != NULL) { in login_timelist()
128 login_ttyok(login_cap_t *lc, const char *tty, const char *allowcap, in login_ttyok() argument
133 if (lc != NULL && tty != NULL && *tty != '\0') { in login_ttyok()
140 ttl = login_getcaplist(lc, allowcap, NULL); in login_ttyok()
146 ttl = login_getcaplist(lc, denycap, NULL); in login_ttyok()
163 auth_ttyok(login_cap_t *lc, const char * tty) in auth_ttyok() argument
165 return login_ttyok(lc, tty, "ttys.allow", "ttys.deny"); in auth_ttyok()
177 login_hostok(login_cap_t *lc, const char *host, const char *ip, in login_hostok() argument
182 if (lc != NULL && in login_hostok()
186 hl = login_getcaplist(lc, allowcap, NULL); in login_hostok()
191 hl = login_getcaplist(lc, denycap, NULL); in login_hostok()
207 auth_hostok(login_cap_t *lc, const char *host, const char *ip) in auth_hostok() argument
209 return login_hostok(lc, host, ip, "host.allow", "host.deny"); in auth_hostok()
219 auth_timeok(login_cap_t *lc, time_t t) in auth_timeok() argument
223 if (lc != NULL && t != (time_t)0 && t != (time_t)-1) { in auth_timeok()
232 lt = login_timelist(lc, "times.allow", <imesno, <imes); in auth_timeok()
237 lt = login_timelist(lc, "times.deny", <imesno, <imes); in auth_timeok()