Lines Matching refs:li1
86 struct logininfo *li1; in testAPI() local
108 li1 = login_alloc_entry((int)getpid(), username, NULL, ttyname(0)); in testAPI()
109 strlcpy(li1->progname, "OpenSSH-logintest", sizeof(li1->progname)); in testAPI()
112 dump_logininfo(li1, "li1"); in testAPI()
122 login_set_addr(li1, (struct sockaddr *) &sa_in4, sizeof(sa_in4)); in testAPI()
123 strlcpy(li1->hostname, "localhost", sizeof(li1->hostname)); in testAPI()
126 dump_logininfo(li1, "li1"); in testAPI()
136 line_stripname(stripline, li1->line, sizeof(stripline)); in testAPI()
139 login_write(li1); in testAPI()
159 login_login(li1); in testAPI()
179 login_logout(li1); in testAPI()
214 login_free_entry(li1); in testAPI()