search for: liblogin_set_ip4

Displaying 1 result from an estimated 1 matches for "liblogin_set_ip4".

2000 Jan 13
0
new login library alpha release
...nastiest part of porting OpenSSH to new platforms. The old record_login() function (login.c) is about 100 lines of code, full of #ifdef statements. The liblogin version is this: void record_login( <params> ) { struct logininfo *li; li = liblogin_alloc_entry(pid, user, host, ttyname); liblogin_set_ip4(li, addr); liblogin_login(li); } A good deal less hassle. Of course, the hassle has moved somewhere else, but, because it's liblogin's raison d'etre, it's designed with portability in mind and hopefully it will be easier to manage. If you have a supported OS for this, please che...