mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-02 12:20:51 +00:00
04b0c5bbfa
The ulog_login_pseudo(3) and ulog_logout_pseudo(3) interfaces provide a functionality identical to what libutempter has to offer. Just transform libutempter's calls into the before mentioned functions. libutempter doesn't work with utmpx, so instead of fixing I thought the easiest way would be to integrate this functionality. libutempter is used by applications like xterm and the KDE libraries, so if I ever change the underlying file format, these applications will keep working automatically. Also increase __FreeBSD_version to indicate the addition (as well as the import of libulog).
25 lines
356 B
Plaintext
25 lines
356 B
Plaintext
/*
|
|
* $FreeBSD$
|
|
*/
|
|
|
|
FBSD_1.2 {
|
|
ulog_endutxent;
|
|
ulog_getutxent;
|
|
ulog_getutxline;
|
|
ulog_getutxuser;
|
|
ulog_login;
|
|
ulog_login_pseudo;
|
|
ulog_logout;
|
|
ulog_logout_pseudo;
|
|
ulog_pututxline;
|
|
ulog_setutxent;
|
|
ulog_setutxfile;
|
|
|
|
addToUtmp;
|
|
removeFromUtmp;
|
|
removeLineFromUtmp;
|
|
utempter_add_record;
|
|
utempter_remove_added_record;
|
|
utempter_remove_record;
|
|
};
|