diff options
author | ed <ed@FreeBSD.org> | 2009-12-06 20:30:21 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2009-12-06 20:30:21 +0000 |
commit | 4fc18b0e9c2c9699115275412ac13525305e5165 (patch) | |
tree | 4c167ee8debe4a077d2e3103bdc2814d888d23bb /lib/libulog/Symbol.map | |
parent | d0b8e66dba0af5ad71faace968e40cfdac06caa0 (diff) | |
download | FreeBSD-src-4fc18b0e9c2c9699115275412ac13525305e5165.zip FreeBSD-src-4fc18b0e9c2c9699115275412ac13525305e5165.tar.gz |
Add a libutempter compatibility interface to libulog.
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).
Diffstat (limited to 'lib/libulog/Symbol.map')
-rw-r--r-- | lib/libulog/Symbol.map | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libulog/Symbol.map b/lib/libulog/Symbol.map index f435c9c..38f2df8 100644 --- a/lib/libulog/Symbol.map +++ b/lib/libulog/Symbol.map @@ -14,4 +14,11 @@ FBSD_1.2 { ulog_pututxline; ulog_setutxent; ulog_setutxfile; + + addToUtmp; + removeFromUtmp; + removeLineFromUtmp; + utempter_add_record; + utempter_remove_added_record; + utempter_remove_record; }; |